static public void Win() { instance.FreePools(); Highscore.instance.AddScore(Mathf.FloorToInt(Time.timeSinceLevelLoad)); instance.WinScreen.gameObject.SetActive(true); instance.Invoke("LoadMenu", 5f); }
static public void Win() { instance.FreePools(); Highscore.instance.AddScore(Mathf.FloorToInt(Time.timeSinceLevelLoad)); instance.WinScreen.gameObject.SetActive(true); instance.Invoke("LoadMenu", 5f); }