Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Moves a live GameObject subtree into another scene owned by the current editor world.

API: engine
Project: Inno.Editor.Scene

public void Inno.Editor.Scene.SceneHierarchyEdit.MoveToScene(Inno.Scene.GameObject gameObject, Inno.Scene.GameScene destination)

Parameter gameObject: The live root object to move.

Parameter destination: The loaded destination scene.

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.