Synced
SceneEdits.DeleteGameObject
Section titled “SceneEdits.DeleteGameObject”
- Deletes a GameObject subtree and records only that subtree plus incoming serialized references.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public bool Inno.Editor.Scene.SceneEdits.DeleteGameObject(Inno.Scene.GameObject gameObject, string historyName = "Delete GameObject")Parameters
Section titled “Parameters”Parameter gameObject: The live subtree root to delete.
Parameter historyName: The user-facing history entry name.
Returns
Section titled “Returns”true when the subtree was deleted and recorded.