Heymity / UniversalInventorySystem

A Unity Package for creating easy to use and highly customizable inventories and inventory`s UI
https://heymity.github.io/UniversalInventorySystemDocs/
Apache License 2.0
206 stars 21 forks source link

Drag and Drop don't work properly in 3D #22

Open Tran-Hong-Quan opened 6 months ago

Tran-Hong-Quan commented 6 months ago

In the Scene example, I change the main cam to perspective, when I drag the item into a slot, it always drops

I tried several things like using another camera in orthographic mode and following the main camera to show inventory, changing canvas to overlay but still not working.

How can i use this system in 3d game?

Tran-Hong-Quan commented 6 months ago

I found a temporary solution, which is to change Camera.main to that inventory's camera, but the tooltip function won't work. Actually, I feel it would be better if this system works in canvas overlay, I hope you can fix this error, have a good day