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?"); } }