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

パラメーター

scene The Scene to be set.

戻り値

bool Returns false if the Scene is not loaded yet.

説明

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.