INTERNAL_CALL_MoveGameObjectToScene() private method

private INTERNAL_CALL_MoveGameObjectToScene ( GameObject go, Scene &scene ) : void
go UnityEngine.GameObject
scene Scene
return void
示例#1
0
 /// <summary>
 ///         <para>Move a GameObject from its current scene to a new scene.
 /// It is required that the GameObject is at the root of its current scene.</para>
 ///       </summary>
 /// <param name="go">GameObject to move.</param>
 /// <param name="scene">Scene to move into.</param>
 public static void MoveGameObjectToScene(GameObject go, Scene scene)
 {
     SceneManager.INTERNAL_CALL_MoveGameObjectToScene(go, ref scene);
 }