SingletonMonoBehaviour(T) Methods

Audio Toolkit

Collapse image Expand Image Copy image CopyHover image

The SingletonMonoBehaviour<(Of <(<'T>)>)> generic type exposes the following members.

Methods

  Name Description
Public method Static member ActivateSingletonInstance
Activates the singleton instance.
Public method Static member DoesInstanceExist
Checks if an instance of this MonoBehaviour exists.
Public method Static member SetSingletonAutoCreate
Sets the object to be instantiated automatically if no instance of the singleton is found.
Public method Static member 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(...)

See Also