Inheritance: BaseModel, INotifyPropertyChanged
Ejemplo n.º 1
0
 //sets the instance to an instance
 //restarts the instance
 public static void RestartInstance()
 {
     _gameInstance = new GameObject();
 }
Ejemplo n.º 2
0
 public static void SetInstance(GameObject instance)
 {
     _gameInstance = instance;
 }
Ejemplo n.º 3
0
 public static GameObject GetInstance()
 {
     return _gameInstance ?? (_gameInstance = new GameObject());
 }