예제 #1
0
 /// <summary>
 /// 设置当前item
 /// </summary>
 /// <param name="item"></param>
 public void SetCurrentInventoryItem(InventoryItem item, InventoryItemUI itemUI)
 {
     if (item == null)
     {
         return;
     }
     this.currentInventory   = item;
     this.currentInventoryUI = itemUI;
     DisPlayInventoryInfo(currentInventory);
 }