Wiki

Case Status
Log In

Wiki

 
Home ยป Samples»NoExit»Button FSM»Button - Idle
Index
Navigation
Community Wiki

Button - Idle

Overview

Sets the idle material for the button and waits for a Mouse Over event.

Actions

Set Material

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.

Tags:

Last modified on 12/16/2010 6:46 AM by User.

  • RSS Feed