[SOLVED] RPG class with struct ShopItem not working

Hello so I have this problem were my code is the same but it gives me errors. What am i doing wrog?

This is in the 4 cours of the rpg series in lecture 10

Do you have the using clause?

using GameDevTV.Inventories;

Yes that fixes the Inventory item but their is still this error with this. … = …
And in the Video he didnt implement it

What is the actual error message?

I fixed it!!! I implemented GameDevTV.Inventories and I deleted all my ShopItem scripts as it turns out I somehow made 2. After I deleted them and created a new one it worked. Thank you for your help.

Well done!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms