Class Singleton<T>
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Singleton<T>
Namespace: BennyKok.RuntimeDebug.Utils
Assembly: com.bennykok.runtime-debug-action.dll
Syntax
public class Singleton<T> : MonoBehaviour where T : MonoBehaviour
Type Parameters
Name | Description |
---|---|
T |
Properties
Instance
Declaration
public static T Instance { get; }
Property Value
Type | Description |
---|---|
T |
Methods
Awake()
Declaration
protected virtual void Awake()