Example #1
0
 private void Start()
 {
     currencyButton.onClick.RemoveAllListeners();
     currencyButton.onClick.AddListener(() =>
     {
         purchaser.BuyCurrency();
     });
     confirmAllButton.onClick.RemoveAllListeners();
     confirmAllButton.onClick.AddListener(() =>
     {
         purchaser.ConfirmAll();
     });
 }