Esempio n. 1
0
 public static IceSlimeGameLoop GetInstance()
 {
     if (_instance == null)
     {
         _instance = new IceSlimeGameLoop();
     }
     return(_instance);
 }
Esempio n. 2
0
 // Use this for initialization
 void Awake()
 {
     _instance = this;
     OverMenu.SetActive(false);
     PauseMenu.SetActive(false);
     isOver         = false;
     Time.timeScale = 1;
     //OverMenuText.gameObject.SetActive(false);
 }