The button component has a Transition property, you can set that to Animation and use it to trigger states in an Animator state machine.
[The tutorial video explains how to set this up in editor][1]
[1]: http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-button
↧