Transitions

The second property of the Button component is the Transition property. The Transition property determines the way the button will visually react when the button is in different states. These different states are not-highlighted (or normal), highlighted, pressed, or disabled. These transitions are performed automatically and do not require coding.

There are four different types of Transitions you can assign: None, Color Tint, Sprite Swap, and Animation.

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.