Version: 2017.2
public static bool SetActiveScene (SceneManagement.Scene scene);

Parámetros

scene The Scene to be set.

Valor de retorno

bool Returns false if the Scene is not loaded yet.

Descripción

Set the Scene to be active.

The active Scene is the Scene which will be used as the target for new GameObjects instantiated by scripts.