Synced
SceneWorld.MoveGameObjectToScene
Section titled “SceneWorld.MoveGameObjectToScene”
- Moves a live object subtree between two scenes loaded by this world.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public void Inno.Scene.SceneWorld.MoveGameObjectToScene(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.InvalidOperationException: Thrown when either scene is not loaded or the object is not live.