private void Awake() { Instance = this; _textScore.text = Score.ToString(); Attmpts = _defAttmpts; _textAttmpts.text = Attmpts.ToString(); }
public void NextStage() { Score += Attmpts; _textScore.text = Score.ToString(); Attmpts = _defAttmpts; _textAttmpts.text = Attmpts.ToString(); TextController.StartGame(); }
public void CheckAttempt(bool goodAttempt) { switch (goodAttempt) { case true: break; case false: Attmpts--; if (Attmpts <= 0) { GameOver(GO.EndedAttempts); break; } _textAttmpts.text = Attmpts.ToString(); break; } }