言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

BaseAnimValue<T0>

Namespace: UnityEditor.AnimatedValues

Description

AnimatedValuesの基となる抽象クラス

AnimatedValuesはエディタのみで持つ概念です。値は目的値に向かって与えられたスピードでTweenします。

Variables

isAnimating valueが現在アニメーションしているかどうか。
speed Tweenのスピード
target targetに向けてTween
value アニメーションしている現在の値
valueChanged 値が変化している間のコールバック

Protected Functions

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.