Hello everyone, I am creating a spellbook in my game that each icon has an OnBeginDrag to be able to drag it to the action bar, now I am trying to apply the trigger event to put the description of the skill using the OnPointEnter & OnPointExit, but I cannot use both , for the OnBeginDrag the object has to have the raycast target disabled, and for the trigger event it needs it activated, is there any way to make both compatible? thanks to all.
You could see if this tutorial helps gamedev-resources.com - gamedev resources Resources and Information.
Or try this A draggable visual element for Unity's UIToolkit system · GitHub where the pointer gets captured, changes pickingMode, and synthesizes events.
1 Like