SceneRegistry Class |
Namespace: ImmerseSDK
public static class SceneRegistry
The SceneRegistry type exposes the following members.
Name | Description | |
---|---|---|
SceneRegistry |
Name | Description | |
---|---|---|
LoadedScenes |
Name | Description | |
---|---|---|
GetId |
Get the ID of an object that exists within one of the loaded scenes
| |
GetObject |
Get an object associated with a GUID in one of the loaded scenes
| |
GetScene |
Gets the Scene object with the specified buildIndex
| |
TryGetId |
Get the ID of an object that exists within one of the loaded scenes
| |
TryGetObject |
Get an object associated with a GUID in one of the loaded scenes
| |
TryGetScene |
Gets the Scene object with the specified buildIndex
|
Name | Description | |
---|---|---|
OnSceneRegistered |
Event triggered when a scene is registered with the SceneRegistry
| |
OnSceneUnregistered |
Event triggered when a scene is unregistered from the SceneRegistry
|
Name | Description | |
---|---|---|
DontDestroyOnLoadLoadIndex |
Static index that can be used for indexing items at runtime in the DontDestroyOnLoad Scene
|