SuperBehaviour SuperBehaviour
SuperBehaviour SuperBehaviour
v0.1.2 [Beta]

Search Results for

    Class LazySingletonBehaviour<T>

    Namespace
    LoM.Super
    Assembly
    LoM.Super.dll

    A singleton MonoBehaviour that inherits from SuperBehaviour.
    NOTE: This will create a new instance if one does not exist.

    See SingletonBehaviour<T> for more information on how to use this class.

    public class LazySingletonBehaviour<T> : SingletonBehaviour<T> where T : SuperBehaviour

    Type Parameters

    T

    The type of the singleton.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    SuperBehaviour
    SingletonBehaviour<T>
    LazySingletonBehaviour<T>
    Inherited Members
    SingletonBehaviour<T>.s_lock
    SingletonBehaviour<T>.s_instance
    SingletonBehaviour<T>.Exists
    SingletonBehaviour<T>.AfterAwake()
    SingletonBehaviour<T>.OnAfterDestroy()
    SuperBehaviour.ShowProperties
    SuperBehaviour.transform
    SuperBehaviour.gameObject
    SuperBehaviour.rectTransform
    SuperBehaviour.IsDestroyed

    Properties

    Instance

    The singleton instance of this class.
    NOTE: This will create a new instance if one does not exist.

    public static T Instance { get; }

    Property Value

    T
    © Lords of Mahlstrom Gaming, all rights reserved.