Click or drag to resize

SingletonMonoBehaviourT Methods

The SingletonMonoBehaviourT generic type exposes the following members.

Methods
  NameDescription
Public methodStatic memberActivateSingletonInstance
Activates the singleton instance.
Public methodStatic memberDoesInstanceExist
Checks if an instance of this MonoBehaviour exists.
Public methodStatic memberSetSingletonAutoCreate
Sets the object to be instantiated automatically if no instance of the singleton is found.
Public methodStatic memberSetSingletonType
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(...)
Top
See Also