Class ComponentSingleton<T>
Inheritance
ComponentSingleton<T>
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[ExecuteInEditMode]
public abstract class ComponentSingleton<T> : MonoBehaviour where T : ComponentSingleton<T>
Type Parameters
Properties
Exists
Declaration
public static bool Exists { get; }
Property Value
Instance
Declaration
public static T Instance { get; }
Property Value
Methods
DestroySingleton()
Declaration
public static void DestroySingleton()
GetGameObjectName()
Declaration
protected virtual string GetGameObjectName()
Returns