public void ClearUI() { vkCountDown.gameObject.SetActive(true); vkCountDown.StopCountDown(); vkChipPool.GiveBackAll(); cacheGold = null; cacheCoin = null; uiPlayers.ForEach(a => a.ClearUI()); DisableBuyerButton(); }
public void ButtonChangeMoneyClickListener() { if (_baucua.moneyType == MoneyType.GOLD) { _baucua.moneyType = MoneyType.COIN; } else { _baucua.moneyType = MoneyType.GOLD; } AudioAssistant.Instance.PlaySoundGame(_GAMEID, _SCLICK); ChangeTypeMoney(); UILayerController.Instance.ShowLoading(); _server.HubCallSetBetType(_baucua.moneyType); vkChipPool.GiveBackAll(); }
public void GiveBackAll() { vkPoolManager.GiveBackAll(); }
public override void HideLayer() { base.HideLayer(); vkDotPool.GiveBackAll(); }