So I thought it’d be relatively easy to make a storage container with what we have in the RPG course (I am on the last one in the abilities section). I figured it’d be a fun and easy challenge.
However, I am stumped. The Inventory.cs is too player-specific and trying to basically copy that entire file and tweaking a few things as Storage.cs and doing the same thing for a StorageUI.cs then starts running into problems when it comes to how InventorySlotUI.cs works. I thought about just inheriting for Storage.cs but like I said it is too specific to the Player itself and wouldn’t quite work throwing it on a world object and adding a IRaycastable to it.
Any idea where I should start here? I very much underestimated this. It SEEMS like it should be relatively straightforward. The hardest part should be letting the items drag between the player inventory UI window and the storage UI window. I am not even sure the IDragContainer can handle that without significant changes… But I didn’t even get that far.
This is one of those humbling things that makes me lose hope for when I get started in full my next project… Despite having a few successful prototypes from scratch. My next project will be more complex.