Extended from EventEmitter SceneManager¶
This class save and build the engine data
Properties¶
table Scenes¶
{ }
table ActiveScenes¶
This dictionary stores all the active scenes
{ }
Methods¶
Scene? FindByName(name: string)¶
Finds a scene by the name
Scene Get(Id: string)¶
Returns the scene with the specified Id
Events¶
Name |
Description |
|---|---|
| SceneLoaded | Params -> Scene Fired when a scene is loaded |
| SceneUnloaded | Params -> Scene Fired when a scene is unloaded |