Version: 2019.3
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.