Class ComponentSingleton<T>
Creates a singleton.
상속된 멤버
네임스페이스: UnityEngine.ResourceManagement.Util
어셈블리: solution.dll
구문
[ExecuteInEditMode]
public abstract class ComponentSingleton<T> : MonoBehaviour where T : ComponentSingleton<T>
타입 파라미터
| 이름 | 설명 |
|---|---|
| T | The singleton type. |
프로퍼티
| 이름 | 설명 |
|---|---|
| Exists | Indicates whether or not there is an existing instance of the singleton. |
| Instance | Stores the instance of the singleton. |
메서드
| 이름 | 설명 |
|---|---|
| DestroySingleton() | Destroys the singleton. |
| GetGameObjectName() | Retrieves the name of the object. |