Try it today. Unity's new UI system-ugui, feeling very powerful, a lot of features at a glance, the use of very convenient next is to try to use his animation bar
Create a Ugui button first, or you can create a canvas and then create a button on the canvas
Then click the button,
After the option point of transition in the figure is opened, there is an option to animation
Click to select Auto Generate Animation
After the folder will pop-up option, it will mean the new animation to save the path, you choose the path name, but in the assets folder
Then under window, you can choose animation,
And then there's the animation conversation window we're familiar with.
And adding a component to the button is animator
Then click the Red button on the Animation dialog window above to edit it.
Then click on highlighted, the drop-down menu appears, that is, each button has so many states, you can set the animation for him separately,
, the button animation is selected after the right can edit the animation, what Scale,rotaton, can be edited
Then in the project panel there will be a directory, that is, the animation saved the directory, there will be an animation, drag it into the button of the animator component controller inside
So that you can use the animation, the other buttons can also use the animation, first, the button's transition option is selected as an animation, and then after the addition of the animator component, drag the animation just to the corresponding location.
On the Ugui of Unity-button animation