RuntimeSceneUtils.SetActiveScene(Scene) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the active scene to the supplied scene. Returns true if successful.
public:
static bool SetActiveScene(UnityEngine::SceneManagement::Scene scene);
public static bool SetActiveScene (UnityEngine.SceneManagement.Scene scene);
static member SetActiveScene : UnityEngine.SceneManagement.Scene -> bool
Public Shared Function SetActiveScene (scene As Scene) As Boolean
Parameters
- scene
- UnityEngine.SceneManagement.Scene