My Project
|
Be aware this will not prevent a non singleton constructor such as T myT = new T();
To prevent that, add protected T () {}
to your singleton class.
More...
Properties | |
static T | Instance [get] |
Be aware this will not prevent a non singleton constructor such as T myT = new T();
To prevent that, add protected T () {}
to your singleton class.
T | : | MonoBehaviour |