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

        vkChipPool.GiveBackAll();

        cacheGold = null;
        cacheCoin = null;

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

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

        vkDotPool.GiveBackAll();
    }