Exemple #1
0
    public void ClearUI()
    {
        vkCountDown.gameObject.SetActive(true);
        vkCountDown.StopCountDown();

        vkChipPool.GiveBackAll();

        cacheGold = null;
        cacheCoin = null;

        uiPlayers.ForEach(a => a.ClearUI());

        DisableBuyerButton();
    }
Exemple #2
0
    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();
 }
Exemple #4
0
    public override void HideLayer()
    {
        base.HideLayer();

        vkDotPool.GiveBackAll();
    }