![]() |
MMFeedbacks
v1.6
|
Persistent singleton. More...
Protected Member Functions | |
virtual void | Awake () |
On awake, we check if there's already a copy of the object in the scene. If there's one, we destroy it. More... | |
Protected Attributes | |
bool | _enabled |
Static Protected Attributes | |
static T | _instance |
Properties | |
static T | Instance [get] |
Singleton design pattern More... | |
Persistent singleton.
T | : | Component |
|
protectedvirtual |
On awake, we check if there's already a copy of the object in the scene. If there's one, we destroy it.
|
protected |
|
staticprotected |
|
staticget |
Singleton design pattern
The instance.