I’m working on the “RPG Inventory Systems” course, and I completed the “InventorySlotUI.cs Changes” lesson, but now when I try to play the game it gives me errors like this:
“Assets\GameDev.tv Assets\Scripts\UI\Inventories\InventorySlotUI.cs(4,17): error CS0234: The type or namespace name ‘Inventories’ does not exist in the namespace ‘GameDevTV’ (are you missing an assembly reference?)”
“Assets\GameDev.tv Assets\Scripts\UI\Inventories\InventorySlotUI.cs(9,66): error CS0246: The type or namespace name ‘InventoryItem’ could not be found (are you missing a using directive or an assembly reference?)”
It tooke me a while, but I found the source of the problem: In the next lesson about using the debugger tool, I discovered that Rick and Sam had at least one script that I didn’t: the InventoryUI.cs script. Curiously enough, I can find it in Visual Studio Code’s explorer, but it claims that the path to it doesn’t exist anymore. I know that I haven’t moved it and it wasn’t included in the builds you download at the start of course, so where do I get it?