Class ComponentSingleton<T>
Namespace: UnityEngine.ResourceManagement.Util
Syntax
public abstract class ComponentSingleton<T> : MonoBehaviour where T : ComponentSingleton<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
Exists
Declaration
public static bool Exists { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Instance
Declaration
public static T Instance { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
DestroySingleton()
Declaration
public static void DestroySingleton()
GetGameObjectName()
Declaration
protected virtual string GetGameObjectName()
Returns
| Type | Description |
|---|---|
| String |