Is there an onHover event or something like that - or is there another way to detect when a uGUI button is being hovered over?
Yes
- Add the component “Event Trigger” to your button.
- Add new Event Type
- Select “PointerEnter”
- Press the “+”.
- Add a object with a script attached
- Create a public method/function in the script attached to the object.
- Assign the Method/function to the Event Trigger. (see image)