Version: 5.4

SceneManager.MoveGameObjectToScene

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

Parámetros

go GameObject a mover.
scene Escena a moverse.

Descripción

Move a GameObject from its current scene to a new Scene. You can only move root GameObjects from one Scene to another. This means the GameObject to move must not be a child of any other GameObject in its Scene.