When I drag an item from my inventory panel, the on drop will only call on the parent widget that holds the inventory panel. (I have made the inventory panel separate to be modular)
If I set OnDrop on the inventory panel, it doesn’t work. The OnDrop happens on the main hud canvas, as if I were dragging the item outside the inventory (to drop it on the ‘ground’).
OnDrop will work on the parent widget of the inventory panel, and it does not drop the item on the ground, but I lose functionality because it doesn’t drop in the inventory slots of the actual inventory menu.
I’ve tried all sorts of variations of panel visibility and moving around the OnDrop, OnDragEnter and OnDragLeave, I don’t know what to try from here except changing how my inventory works.