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

パラメーター

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

説明

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.