Version: 5.4
public static void MoveGameObjectToScene (GameObject go, SceneManagement.Scene scene);

パラメーター

go 移動させるゲームオブジェクト
scene 移動先のシーン

説明

Move a GameObject from its current scene to a new Scene. You can only move root GameObjects from one Scene to another. This means the GameObject to move must not be a child of any other GameObject in its Scene.