Example #1
0
 public void ShowRandomDaziText(bool b)
 {
     RandomDaziText.text = String.Format("하루 광고 제한 10회  남은 광고 : {0}회", mUser.RandomDaziCount);
     if (mUser.RandomDaziCount > 0)
     {
         if (b)
         {
             SoundController.Instance.FXSound(12);
         }
         RandomDaziButton.SetButtonActive(true);
         PointRandomDaziButton.gameObject.SetActive(true);
     }
     else
     {
         RandomDaziButton.SetButtonActive(false);
         PointRandomDaziButton.gameObject.SetActive(false);
     }
 }