Beispiel #1
0
 private void ButtonUnitDown(UICallBack callBack, ButtonCountdown button, DataPlayer dataPlayer)
 {
     button.StartCountdown(callBack.data as DataUnit, dataPlayer);
     Toolbox.Get <ManagerUI>().OnButtonClick.OnNext(callBack);
 }
Beispiel #2
0
 private void ButtonSpellDown(UICallBack callBack, ButtonCountdown button, DataPlayer dataPlayer)
 {
     button.StartCountdown((callBack.data as DataSpell).countdown);
     Toolbox.Get <ManagerUI>().OnButtonClick.OnNext(callBack);
 }