public void Enter(UI _ui) { ui = _ui; ui.PlaySound(open_sound); go.SetActive(true); shopName.text = salerInfo.GetName(); selectedItem = 0; }
} //인벤토리 초기화 public void ShowItem(ShopInfo _info) { salerInfo = _info; shopName.text = _info.GetName(); for (int i = 0; i < 9; i++) { slots[i].gameObject.SetActive(false); } ShowPage(); SelectedItem(); }//슬롯 활성화