Hello, I am developing the inventory system of my game, I decided to use the event’s own UI to drag items, the problem is I’m testing here, and it just does not respond to movements me if I try arastar a panel for example, it does not call the OnBeginDrag function, and so forth.
I’ll leave 2 Prints here:
Translated with Translate.
You need to fix that NullReferenceException error in your debug console before you can reasonably expect things to work properly. Once there’s no runtime errors, then we can begin to debug logic errors.
1 Like
In fact there was no error on the console.
What was missing was the EventSystem, and the Unity did not inform me, then I added.
Create → UI → EventSystem