Method AddScene
AddScene(LoadableSceneId)
Adds a LoadableSceneId for a scene during build.
Declaration
public int AddScene(LoadableSceneId sceneId)
Parameters
| Type | Name | Description |
|---|---|---|
| LoadableSceneId | sceneId | The LoadableSceneId for the scene. |
Returns
| Type | Description |
|---|---|
| int | The integer index used to look up this scene at runtime. |