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.