Managers |
Most video-games require a host of managers to handle things like UI, sounds, and effects. The most common of these are included in the kit. What follows is a cheat-sheet of the most useful methods in the included managers. Consult the manager reference pages linked at the bottom for a more in-depth look at the features and options available.
All of the methods return a UniTask which completes after respective animations have ended and can be await-ed upon.
Method(s) | Description |
|---|---|
Instantiate and show a window from a prefab. | |
Hide a window with a name. | |
Show a given window. | |
Hide a given window. |
All of the ResourceManager methods provide async versions which should be the ones you use to perform I/O operations for a smoother experience.
All of the methods return a UniTask which completes after fading is done and can be await-ed as well.
Method(s) | Description |
|---|---|
Fade in the screen. | |
Fade out the screen. | |
Load a scene with fading. | |
Reload the scene with fading. |
Method(s) | Description |
|---|---|
Play general sounds. | |
Play UI sounds. | |
Handle background music. | |
Spawn an AudioSource in the world and pool it. | |
Play an AudioClip with a dedicated AudioSource. |
Method(s) | Description |
|---|---|
Spawn and pool a particle effect. | |
Despawn a particle effect. | |
Despawn all particle effects. |