Editar

Compartir a través de


RuntimeSceneUtils.SetActiveScene(Scene) Method

Definition

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

Returns

Applies to