The SingletonMonoBehaviour<(Of <(<'T>)>)> generic type exposes the following members.
Methods
Name | Description | |
---|---|---|
ActivateSingletonInstance |
Activates the singleton instance.
|
|
DoesInstanceExist |
Checks if an instance of this MonoBehaviour exists.
|
|
SetSingletonAutoCreate |
Sets the object to be instantiated automatically if no instance of the singleton is found.
|
|
SetSingletonType |
Only required for Flash builds. If this function is not called by the class deriving from
SingletonMonoBehaviour in the constructor the singleton can not be found by GetSingleton(...)
|
Properties
Name | Description | |
---|---|---|
Instance |
Gets the singleton instance.
|
|
isSingletonObject |
must return true if this instance of the object is the singleton. Can be used to allow multiple objects of this type
that are "add-ons" to the singleton.
|