Unity recommends using animator animations to animate the Ugui control. Make the animation fragment of the UI control first, then add the appropriate animator and transition parameters for the control, and control the parameters to control the playback of the animation.
For example, in a button,
The Transition (Transition) property is set here to: Animation, and then click "Auto Generate Animation" to automatically add a animator with four parameters.
Unity has automatically added and set up an animated state machine with four parameters. At this point just press ctrl+6, edit the normal,hightlighted,pressed,disabled animation section separately, save, play can realize the button's four state animation effect.
This way to make animation effect, can easily achieve 3d animation effect, but there is a disadvantage, when the animation a lot, you need to make multiple animator.
Note: Ugui animations can only be made with the new version of the animation system, animator, and unity does not support creating Ugui animations separately with animation.
Reference Official Document: Http://docs.unity3d.com/Manual/UIAnimationIntegration.html
Ugui Official Document review notes--animation integration