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); } }
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); } }