Synced
SceneHierarchyEdit.MoveToScene
Section titled “SceneHierarchyEdit.MoveToScene”
- Moves a live GameObject subtree into another scene owned by the current editor world.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Scene
Declaration
Section titled “Declaration”public void Inno.Editor.Scene.SceneHierarchyEdit.MoveToScene(Inno.Scene.GameObject gameObject, Inno.Scene.GameScene destination)Parameters
Section titled “Parameters”Parameter gameObject: The live root object to move.
Parameter destination: The loaded destination scene.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when an argument is null.
Exception T:System.InvalidOperationException: Thrown when either scene is not loaded by the editor world.