ISSUE:
I would like my inventory items to have examine and use within my UI inventory bar. So far this functionality works, however I cannot click on the items or drag on the item to move them to interact with hotspots in my scene.
The buttons are linked to my REAL WORLD INVENTORY prefab. The recorded ID’s are identical for each button.
See PDF in here for full images of managers and UI prefab.
https://www.dropbox.com/sh/wyx9kgkozrwrtnj/AADtRD3HLaotM6eG2F6YBMj8a?dl=0
Thanks in advance!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You say it works, but you can't click on items. What is the exact behaviour when clicking items?
You have a large "minimum drag distance" value set, which means that the Player needs to click and drag a fair ways before an item becomes selected for drag-and-drop.
Hi, it happens with a small minimum drag distance too, I just put that large to see if it affected anything.
Sorry, so when I hover over I am presented with use and examine through left and right click, and both work when clicked. But i cannot drag the object into the scene, it appears stuck. I have put a video into the folder:
https://www.dropbox.com/sh/wyx9kgkozrwrtnj/AADtRD3HLaotM6eG2F6YBMj8a?dl=0
I cannot recreate such an issue.
As a test, temporarily switch your Menu Manager to Default_MenuManager and try it with the default Inventory using Unity UI.
so the same thing happens, is this because I have a use and examine on each item in my inventory?
If you have a Use interaction defined, that will override default click-to-select behaviour.
Of course!!