Extended version of Simple Drag and Drop (free)
Basic functionality:
Two C# scripts:
- DragAndDropCell
- DragAndDropItem
Cell type may be choosen individually from the following variants:
- Swap - Items will be swapped between cells
- Drop Only - Item will only be dropped into cell
- Drag Only - Item will only be dragged from cell
Additional option Unlimited Source for all cell types - Item will be cloned and dragged from cell
On every drop event SendMessageUpwards is sent to notify control unit (for example Inventory).
Cell prefab and item prefab are included.
Extended functionality:
Events are separated by types.
Drop requests allow to control and deny items transactions. This helps to organize control logic in application.
It can work with multiple canvas in different render modes using master canvas.
Bonus:
- 10 cell prefabs;
- Simple Tooltip C# script.