Class ComponentSingleton<T>
Inheritance
ComponentSingleton<T>
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