Class ComponentSingleton<T>
Creates a singleton.
Inherited Members
Namespace: UnityEngine.ResourceManagement.Util
Assembly: Unity.ResourceManager.dll
Syntax
[ExecuteInEditMode]
public abstract class ComponentSingleton<T> : MonoBehaviour where T : ComponentSingleton<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | The singleton type.  | 
      
Properties
| Name | Description | 
|---|---|
| Exists | Indicates whether or not there is an existing instance of the singleton.  | 
      
| Instance | Stores the instance of the singleton.  | 
      
Methods
| Name | Description | 
|---|---|
| DestroySingleton() | Destroys the singleton.  | 
      
| GetGameObjectName() | Retrieves the name of the object.  |