Hi,
I'm trying to incorporate the inventory system in the Character X example in my game and I'm having some difficulty. I have the backback and item slots set up and am able to create items and drag them around from the backpack to the item slots. However, I'm having difficulty figuring out where I can put my scripts to handle changes in an inventory item slot. For example, if I drag an inventory item that is a piece of armour onto the armour item slot, where in the code can I call some function that applies the effect of that armour on the character in my game. I've tried a few different places, but it's not giving me the desired effect.
Would appreciate any guidance. Many thanks,