浏览代码

Corrected Small Typo in Function Declaration (#390)

Added letter 'n' to IngredientsAvailability function.
/devlogs-4-addressable-assets
GitHub 4 年前
当前提交
c9495c00
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      UOP1_Project/Assets/Scripts/Inventory/ScriptableObjects/Inventory.cs
  2. 2
      UOP1_Project/Assets/Scripts/Inventory/UIInventoryManager.cs

2
UOP1_Project/Assets/Scripts/Inventory/ScriptableObjects/Inventory.cs


return 0;
}
public bool[] IngredietsAvailability(List<ItemStack> ingredients)
public bool[] IngredientsAvailability(List<ItemStack> ingredients)
{
bool[] availabilityArray = new bool[ingredients.Count];

2
UOP1_Project/Assets/Scripts/Inventory/UIInventoryManager.cs


void ShowItemInformation(Item item)
{
bool[] availabilityArray = currentInventory.IngredietsAvailability(item.IngredientsList);
bool[] availabilityArray = currentInventory.IngredientsAvailability(item.IngredientsList);
inspectorFiller.FillItemInspector(item, availabilityArray);

正在加载...
取消
保存