|
virtual void | Awake () |
|
virtual void | OnDestroy () |
|
|
static TComponent | Instance [get] |
|
bool | EnforceSingleton [get] |
| Returns true if the object is NOT the singleton instance and should exit early from doing any redundant work. It will also log a warning if called from another instance in the editor during play mode. More...
|
|
bool | IsTheSingleton [get] |
| Returns true if the object is the singleton instance. More...
|
|
bool | IsNotTheSingleton [get] |
| Returns true if the object is not the singleton instance. More...
|
|
◆ EnforceSingleton
Returns true if the object is NOT the singleton instance and should exit early from doing any redundant work. It will also log a warning if called from another instance in the editor during play mode.
◆ IsNotTheSingleton
Returns true if the object is not the singleton instance.
◆ IsTheSingleton
Returns true if the object is the singleton instance.
The documentation for this class was generated from the following file:
- Assets/InControl/Source/Utility/SingletonMonoBehavior.cs