お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Namespace: UnityEditor.AnimatedValues
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseAnimatedValuesの基となる抽象クラス
AnimatedValuesはエディタのみで持つ概念です。値は目的値に向かって与えられたスピードでTweenします。
isAnimating | valueが現在アニメーションしているかどうか。 |
speed | Tweenのスピード |
target | targetに向けてTween |
value | アニメーションしている現在の値 |
valueChanged | 値が変化している間のコールバック |
BeginAnimating | Begin an animation moving from the start value to the target value. |
GetValue | Abstract function to be overridden in derived types. Should return the current value of the animated value. |
StopAnim | Stop the animation and assign the given value. |