Version: 2017.2

BaseAnimValue<T0>

class in UnityEditor.AnimatedValues

Switch to Manual

Description

Абстрактный базовый класс для Анимированных Значений.

Animated Values are an editor only concept for values that have a current value and a target. The value will tween towards the target at a given speed.

Variables

isAnimatingЗначение в данный момент анимируется.
speedСкорость анимации.
targetЦель по отношению к анимации.
valueТекущее значение анимации.
valueChangedОбратный вызов во время изменения значения.

Protected Functions

BeginAnimatingBegin an animation moving from the start value to the target value.
GetValueAbstract function to be overridden in derived types. Should return the current value of the animated value.
StopAnimStop the animation and assign the given value.