예제 #1
0
 public void OnGetHintsOkClick()
 {
     GameObject.Find("AudioSourceClick").GetComponent <AudioSource>().Play();
     Player.GetInstance().Hints += 5;
     Player.GetInstance().HasUserGetFreeHints = true;
     if (Player.GetInstance().ActualGame.Hints == 0)
     {
         gameSceneController.SetTutorialFirstHint();
     }
     else
     {
         gameSceneController.isJumpingAvailable = true;
     }
     animator.SetTrigger("decrase");
     repeatButton.SetActive(true);
 }