Inventory Window Drags

I’m unsure if this is fixed in later lectures, but I’ve gotten to the Beautification, got my inventory looking nice and everything, and when I click and drag on the inventory slots themselves (not the item) the whole inventory drags with it (it works perfectly if I’m dragging an item in the

That’s an issue with the scrollView capturing the mouse click. (It has it’s own OnPointerDown event). Unfortunately, there’s not much we can do about that, as it’s something Unity’s code does to enable scrolling.

If I just have a static amount on the inventory and do away with the scroll view & scroll bar, should that fix the issue? (I’m away from my PC ATM so I can’t test it)

I’m pretty sure it would. The ActionStore and Equipment don’t have this same behavior

Privacy & Terms