A simplified version of the Singleton class which doesn't depend on the Instance being set in Awake
More...
|
| virtual void | OnDestroy () |
| | Called by Unity when destroying a MonoBehaviour. Scripts that extend SingleInstance should be sure to call base.OnDestroy() to ensure the underlying static _Instance reference is properly cleaned up. More...
|
| |
A simplified version of the Singleton class which doesn't depend on the Instance being set in Awake
- Template Parameters
-
Definition at line 12 of file SingleInstance.cs.
§ OnDestroy()
Called by Unity when destroying a MonoBehaviour. Scripts that extend SingleInstance should be sure to call base.OnDestroy() to ensure the underlying static _Instance reference is properly cleaned up.
Definition at line 40 of file SingleInstance.cs.
§ Instance
The documentation for this class was generated from the following file: