/// <summary> /// /// </summary> /// <param name="itemToUse"></param> protected virtual void UseItem(ItemStack itemToUse) { Debug.Log("USE ITEM " + itemToUse.Item.ItemName); useItemEvent.OnItemEventRaised(itemToUse); // Update inventory FillInventory(); }
/// <summary> /// /// </summary> /// <param name="itemToUse"></param> protected virtual void EquipItem(ItemStack itemToUse) { Debug.Log("USE ITEM " + itemToUse.Item.ItemName); equipItemEvent.OnItemEventRaised(itemToUse); }