Пример #1
0
 private void Start()
 {
     diceController = GameObject.FindGameObjectWithTag("GameController").GetComponent <DiceController>();
     rollBtn.onClick.AddListener(delegate {
         diceController.ScreenTapped();
         statusTxt.gameObject.SetActive(false);
     });
 }