Version: 5.4

Undo.MoveGameObjectToScene

マニュアルに切り替える
public static void MoveGameObjectToScene (GameObject go, SceneManagement.Scene scene, string name);

パラメーター

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

説明

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.