Class Singleton<T>
Inheritance
Singleton<T>
Namespace: YVR.Utilities
Assembly: YVR.Utilities.Runtime.dll
Syntax
public abstract class Singleton<T> where T : Singleton<T>, new()
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
createdInstance | |
instance |
Methods
Name | Description |
---|---|
OnInit() | |
Reset() | Reset the instance to null which will force the next call to instance to re-initialize the singleton. |