Sets the idle material for the button and waits for a Mouse Over event.
Sets the idle material.
Mouse Pick Event
We use Mouse Pick Event rather than the built in Mouse Events because we can specify a distance.
In this case, the camera has to be closer than 1 Unity unit to trigger these pick events.
When the mouse rolls over the button's collider, this action sends the mouseOver event.