Struct SceneInstance
Wrapper for scenes. This is used to allow access to the AsyncOperation and delayed activation.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Syntax
public struct SceneInstance
Properties
Name | Description |
---|---|
Scene | The scene instance. |
Methods
Name | Description |
---|---|
Activate() | Activate the scene via the AsyncOperation. |
ActivateAsync() | Activate the scene via the AsyncOperation. This is the scene loading AsyncOperation provided by the engine. The documentation for AsyncOperation can be found here: https://docs.unity3d.com/ScriptReference/AsyncOperation.html |
Equals(Object) | The scene instance. |
GetHashCode() | The scene instance. |