|
JUtils
A unity utilities library
|
Centralized singleton to fix reference & hot reload issues issues More...


Static Public Member Functions | |
| static T | GetSingleton< T > () |
| Get a singleton stored in the manager More... | |
| static bool | TryGetSingleton< T > (out T singleton) |
| Try get a singleton stored in the manager More... | |
| static bool | SetSingleton< T > (ISingleton< T > singleton) |
| Set a singleton reference More... | |
| static bool | RemoveSingleton< T > () |
| Remove a singleton from all lists More... | |
Properties | |
| static SingletonManager | instance [get] |
Centralized singleton to fix reference & hot reload issues issues
|
inlinestatic |
Get a singleton stored in the manager
| T | : | Object | |
| T | : | ISingleton<T> |
|
inlinestatic |
Remove a singleton from all lists
| T | : | Object | |
| T | : | ISingleton<T> |
References JUtils.SingletonManager.instance.
|
inlinestatic |
Set a singleton reference
| T | : | Object | |
| T | : | ISingleton<T> |
References JUtils.SingletonManager.instance.
|
inlinestatic |
Try get a singleton stored in the manager
| T | : | Object | |
| T | : | ISingleton<T> |
References JUtils.SingletonManager.instance.
|
staticget |