void Awake() { DeleGateAction.OnCoinChange += OnCoinChange; coinText = transform.GetComponent <Text>(); DeleGateAction.CoinChange(); }
void Awake() { DeleGateAction.OnCoinChange += OnCoinChange; itemButton = transform.GetComponent <Button> (); DeleGateAction.CoinChange(); }
public void DownAddCoin100Button() { DeleGateAction.Add(100); }
public void DownCoinSub1000Button() { DeleGateAction.Sub(1000); }
public void DownCoinSub500Buttn() { DeleGateAction.Sub(500); }
public void DownCoin0Button() { DeleGateAction.Sub(DeleGateAction.Get()); }