private void ButtonTradeOnClick()
        {
            _heroBag.OpenClose(_positionHeroBagInventory);
            _traderBag.OpenClose(_positionTraderBagInventory);
            _heroTable.OpenClose(_positionHeroTableInventory);
            _traderTable.OpenClose(_positionTraderTableInventory);

            _uiView.UpdateView();
        }
Example #2
0
 private void BindUi()
 {
     // Bind to button
     _buttonOpenClose.onClick.AddListener(() => _dummy.OpenClose());
     _buttonOpenClose.onClick.AddListener(() => _bag.OpenClose());
 }