Hi guys,
I am working on a custom Inventory which has dragging item from slot to slot.
Bc of some issues while development I had to use a Gui-dragging Script and could not use the new UiDragDetector-Instance.
But my problem is that while dragging the UiImage of the Item is one layer behind each slot (Like Shown In the video).
In the video you might notice that the LayoutOrder is set by a CanvasGroup. But I tested changing every LayoutOrder (Slots, Item’s UiImage, CanvasGroup)
What the problam was: I had a value that stored the old slot (to much to explain why I need it), the issue was that I applied the parent of the item to this value after dragging.
Hope this information is helpfull for ppl with similar issues