// Start is called before the first frame update
 void Start()
 {
     instance = this;
     gameOver = false;
     pausepannel.SetActive(false);
     gameOverPannel.SetActive(false);
     failedpannel.SetActive(false);
     CoinText.text = "0";
     coinCount     = 0;
     setBGM();
 }
Beispiel #2
0
 public void SetParent(PlayUIManager _ui_manager)
 {
     parent = _ui_manager;
 }