ドキュメント

Unity Engine

Unity Engine

BaseAnimValue<T>

Abstract base class for Animated Values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public abstract class BaseAnimValue<T> : ISerializationCallbackReceiver

Remarks

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.

Fields

Value

Description

speedSpeed of the tween.
valueChangedCallback while the value is changing.

Properties

Property

Description

isAnimatingIs the value currently animating.
targetTarget to tween towards.
valueCurrent value of the animation.

Methods

Method

Description

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.