Method GetLoadableSceneId
GetLoadableSceneId(int)
Resolves a Unity.Loading.LoadableSceneId from the integer index stored at build time.
Declaration
LoadableSceneId GetLoadableSceneId(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | The integer index produced during the build. |
Returns
| Type | Description |
|---|---|
| LoadableSceneId | The matching Unity.Loading.LoadableSceneId, or default if out of range. |