Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Moves a live object subtree between two scenes loaded by this world.

API: engine
Project: Inno.Scene

public void Inno.Scene.SceneWorld.MoveGameObjectToScene(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.InvalidOperationException: Thrown when either scene is not loaded or the object is not live.