Hi,
I am trying to make an inventory system and I wanted to check if my approach is alright.
I have set up a base item class that inherits from the actor class, to store basic item information, and I will just make all my specific weapons etc, inherit from this class.
I am then planning to have an inventory class that stores an array of my base item actor class along with static methods to add/remove items to the array etc.
I was then going to simply have an instance of the inventory in the player that I instantiate at the beginning.
I don’t need network support, but I am not sure how to do the inventory class, should I be doing it as an actorcomponent or just a uobject
Any advice would be greatly appreciated