Example #1
0
 public void GetStar()
 {
     hasStarCount++;
     starCounter.UpdateText(hasStarCount);
     if (GameManager.IsWinner(hasStarCount))
     {
         GameObject.Find("GameManager").GetComponent <GameManager>().FinishGame(!isCom);
     }
 }