Наследование: BaseModel, INotifyPropertyChanged
Пример #1
0
 //sets the instance to an instance
 //restarts the instance
 public static void RestartInstance()
 {
     _gameInstance = new GameObject();
 }
Пример #2
0
 public static void SetInstance(GameObject instance)
 {
     _gameInstance = instance;
 }
Пример #3
0
 public static GameObject GetInstance()
 {
     return _gameInstance ?? (_gameInstance = new GameObject());
 }