SceneService Class |
Namespace: ImmerseSDK
public sealed class SceneService : SingletonBehaviour
The SceneService type exposes the following members.
Name | Description | |
---|---|---|
SceneService | ||
SceneService | Initializes a new instance of the SceneService class |
Name | Description | |
---|---|---|
Bounds |
Scene bounds
| |
CurrentScene |
Current scene build index
| |
IsSceneRestarting |
True if the scene is restarting
| |
Loading |
True if a scene is still loading, otherwise false
| |
Progress |
Amount of progress for the scene load
|
Name | Description | |
---|---|---|
CoroutineInitialise |
This method is used by our internal systems so do not call it directly.
(Overrides SingletonBehaviourCoroutineInitialise.) | |
FindAllT |
Finds all the components in all the currently loaded scenes
| |
GetDontDestroyOnLoadRootGameObjects |
Get all objects in the DontDestroyOnLoad scene
| |
LoadSceneAdditivelyCoroutine | ||
SendAcknowledgeResetScene |
Sends the reset scene ACK message to all currently connected clients.
| |
ToString |
Returns "Scene Service"
(Overrides UnityEngine.Object.ToString.) |
Name | Description | |
---|---|---|
DefaultScenePath |
Path to default scene
| |
TimeoutForResetSceneAcknowledgeWaitInSeconds |
This is the maximum time (in seconds) we will wait for everybody else to reset and reload their scene
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |