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