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