Version: 5.6

BaseAnimValue<T0>

class in UnityEditor.AnimatedValues

매뉴얼로 전환

설명

Abstract base class for Animated Values.

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.

변수

isAnimatingIs the value currently animating.
speedSpeed of the tween.
targetTarget to tween towards.
valueCurrent value of the animation.
valueChangedCallback while the value is changing.

보호되는 함수

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.