Synced
SceneEdits.DeleteGameObjects
Section titled “SceneEdits.DeleteGameObjects”
- Deletes selected subtrees atomically, omitting descendants already covered by a selected ancestor.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Scene
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Scene.SceneEdits.DeleteGameObjects(System.Collections.Generic.IReadOnlyList<InnoEngine.Scene.GameObject> targets)Parameters
Section titled “Parameters”Parameter targets: Live objects to delete; every owner is validated before the first mutation.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: An owner is unavailable, read-only, or rollback fails.