Version: 2021.1
Experimental: this API is experimental and might be changed or removed in the future.

ITransitionAnimations

interface in UnityEngine.UIElements.Experimental

切换到手册

描述

提供 helper 方法,用于为 VisualElement 样式值创建过渡动画。

公共函数

Layout触发动画更改此元素的布局样式值。另请参阅:IStyle.top、IStyle.left、IStyle.width、IStyle.height。
Position触发动画更改此元素的变换位置。另请参阅:ITransform.position。
Rotation触发动画更改此元素的变换旋转。另请参阅:ITransform.rotation。
Scale触发动画更改此元素的变换缩放。另请参阅:ITransform.scale。
Size触发动画更改此元素的大小样式值。另请参阅:IStyle.width、IStyle.height。
Start对此 VisualElement 启动过渡动画。
TopLeft触发动画更改此元素的定位样式值。另请参阅:IStyle.top、IStyle.left。