public override IEnumerator OnRemoveFromStack() { _CurrentSelectCell = null; LTMainHudManager.Instance.UpdataItemsData(); Messenger.RemoveListener(Hotfix_LT.EventName.InventoryEvent, OnInventoryEvent); DestroySelf(); yield break; }
public void SetBagContent(UIInventoryBagCellController cell) { if (cell != null && cell.Data.m_DataID != null) { this.BagItemData = cell.m_cell.ItemData; SetBagContentFunc(); } else { ResetBagContentFunc(); } }