Ugui Official Document review notes--animation integration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.