Tanoda
|
Protected Member Functions | |
virtual void | OnEnable () |
Properties | |
static T | instance [get] |
static T | nullableInstance [get] |
A generic singleton implementation for ScriptableObject classes.
T | : | ScriptableObject |
Definition at line 8 of file pb_ScriptableObjectSingleton.cs.
|
protectedvirtual |
Set _instance if required. If overriding in a child class be sure to call base.OnEnable() before anything elese is executed.
Reimplemented in GILES.pb_ResourceManager.
Definition at line 37 of file pb_ScriptableObjectSingleton.cs.
|
staticget |
Definition at line 12 of file pb_ScriptableObjectSingleton.cs.
|
staticget |
Return the instance if it has been initialized, null otherwise.
Definition at line 28 of file pb_ScriptableObjectSingleton.cs.