Пример #1
0
 public void numberSelection(GameObject btn)
 {
     try
     {
         int number = int.Parse(btn.transform.GetChild(0).GetComponent <Text>().text);
         GameDelegate.stopAnimation();
         GameDelegate.selectNumber(number);
         this.onHideButtonPanel();
         appwarp.userSelectGoti(this.GotiNumber, number);
         GameDelegate.StartDisableAllGoti();
     }
     catch (System.Exception ex)
     {
         // Debug.Log (ex.Message);
     }
 }
Пример #2
0
 public void numberSelection(GameObject btn)
 {
     try
     {
         int number = int.Parse(btn.transform.GetChild(0).GetComponent <Text>().text);
         GameDelegate.stopAnimation();
         GameDelegate.selectNumber(number);
         appwarp.userSelectGoti(index, number);
         Enable = false;
         removeOption();
         GameDelegate.StartDisableAllGoti();
     }
     catch (System.Exception ex)
     {
         // Debug.Log (ex.Message);
     }
 }