예제 #1
0
 public void OnRemoveButton(InventorySlot inventorySlot)
 {
     if (_notification.IsFree())
     {
         object[] tmp = new object[1];
         tmp[0] = inventorySlot.GetItem();
         _notification.ActiveYesNo((Action <Item>)_inventoryModel.RemoveInventoryItem, tmp, "Do you really want remove this item?");
     }
 }