Пример #1
0
 public void SubractCointoPrizeButton()
 {
     changePrize = SubractCoinfromPrize;
     changePrize(10);
     UpdatePrizeText();
 }
Пример #2
0
 public void AddCointoPrizeButton()
 {
     changePrize = AddCointoPrize; // initiated int type function to int type delegate
     changePrize(10);              //called int type delegate
     UpdatePrizeText();
 }