Hi guys, what i need is to know when im clicking over an UI element or not, i used to use hotcontrol with the legacy system, still was bad because it only worked with buttons.
With the new UI it seems that OnPointerUP/Down callbacks do exactly what i need and i came across with scritp that do exactly what i need
Correct OnPointerDown and OnPointerUp implementations in JS?
With the new UI it seems that OnPointerUP/Down callbacks do exactly what i need and i came across with scritp that do exactly what i need
Code (CSharp):
- using UnityEngine;
- using UnityEngine.EventSystems;
- {
- public static bool...