// Update is called once per frame void Update() { GameSceneUIController.Money = _wallet.GetMoney(); Shopping(); if (Input.GetKeyDown(KeyCode.E)) { _IsOpen = !_IsOpen; if (_IsOpen) { _inventry.ShowInventryUI(); } else { _inventry.HideInventryUI(); } } if (_nowShop) { _basketUI.ShowInventryUI(_basket); } else { _basketUI.HideInventryUI(); } }
public void HideInventryUI() { _inventryUI.HideInventryUI(); }