![]() |
Project Arrhythmia
A video game developed by Vitamin Games.
|
Manages the loading and unloading of scene groups within the application. More...
Public Member Functions | |
| void | ClearLoadingTasks () |
| void | AddToLoadingTasks (TaskData task) |
| void | AddToLoadingTasks (string _name, Task _task) |
| List< TaskData > | GetLoadingTasks () |
| async Task | LoadPersistentScenes (SceneGroup group, IProgress< float > progress) |
| async Task | LoadScenes (SceneGroup group, IProgress< float > progress, bool reloadDupScenes=false) |
| void | UpdateVolumesAndCameras () |
| void | UpdateMouse () |
| async Task | UnloadScenes () |
Public Attributes | |
| SceneGroup | ActiveSceneGroup |
Events | |
| Action< string > | OnSceneLoaded = delegate { } |
| Action< string > | OnSceneUnloaded = delegate { } |
| Action | OnSceneGroupLoaded = delegate { } |
Private Attributes | |
| List< TaskData > | ExtraLoadingTasks = new List<TaskData>() |
| readonly AsyncOperationHandleGroup | handleGroup = new AsyncOperationHandleGroup(10) |
| List< string > | PersistentScenes = new List<string>() |
Manages the loading and unloading of scene groups within the application.
This class is responsible for orchestrating the loading and unloading of groups of scenes, allowing for complex scene management strategies such as loading multiple scenes simultaneously for modular game components or features. It provides methods to load and unload scene groups by name, facilitating dynamic scene composition and transitions.