Class Singleton<T>
public class Singleton<T> : MonoBehaviour where T : Singleton<T>
Type Parameters
T
- Inheritance
-
Singleton<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
Singleton()
public Singleton()
Properties
Instance
public static T Instance { get; }
Property Value
- T
Methods
Awake()
protected virtual void Awake()
ClearInstance()
public static void ClearInstance()
FindInstance()
public static T FindInstance()
Returns
- T
OnCreated()
protected virtual void OnCreated()