Class: LoadedScene
A scene loaded into the running one with Scene.LoadAdditive (Game.scenes.LoadAdditive): its root entities, for unloading them as a group.
Constructors
Constructor
ts
new LoadedScene(
m_scene,
name,
key,
roots
): LoadedScene;Parameters
| Parameter | Type |
|---|---|
m_scene | Scene |
name | string |
key | string |
roots | number[] |
Returns
LoadedScene
Properties
| Property | Modifier | Type |
|---|---|---|
key | readonly | string |
name | readonly | string |
Accessors
isLoaded
Get Signature
ts
get isLoaded(): boolean;Returns
boolean
roots
Get Signature
ts
get roots(): Entity[];Returns
Entity[]
Methods
Unload()
ts
Unload(): boolean;Returns
boolean