hi
how to detect when mouse is over GUI panel?
thank you
EDIT: I think I found a solution - need to use Event Trigger
hi
how to detect when mouse is over GUI panel?
thank you
EDIT: I think I found a solution - need to use Event Trigger
You could use an Event Trigger, but I wouldn’t recommend it.
Better you write your own simple script (like you do with colliders) to implement the Event Interface handlers like IPointerEnterHandler and IPointerExitHandler. Event Trigger does the same but is very heavy as it implements ALL events