Undo.MoveGameObjectToScene

Cambiar al Manual
public static void MoveGameObjectToScene (GameObject go, SceneManagement.Scene scene, string name);

Parámetros

goGameObject a mover.
sceneScene to move the GameObject into.
nameRealizar una operación de rehacer.

Descripción

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.