Skip to content

TransitionMode

The TransitionMode enumeration is used to specify the transition effect when switching between UI element states.

attributesdescription
NoneNo transition effect, directly switches to the target state.
ColorTintColor transition effect that interpolates the color from the target state to the current state to achieve a transition.
SpriteSwapSprite image transition effect that replaces the sprite image of the current state with the sprite image of the target state to complete the transition.