Class Singleton<T>
Singleton MonoBehaviour
base class.
Namespace: NPCEngine.Utility
Assembly: cs.temp.dll.dll
Syntax
public class Singleton<T> : MonoBehaviour where T : MonoBehaviour
Type Parameters
Name | Description |
---|---|
T |
Properties
Instance
Declaration
public static T Instance { get; }
Property Value
Type | Description |
---|---|
T |
Methods
GetInstance()
Declaration
public static T GetInstance()
Returns
Type | Description |
---|---|
T |