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

スクリプト言語

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

AnimFloat

Namespace: UnityEditor.AnimatedValues

/

Inherits from: AnimatedValues.BaseAnimValue_1

Description

float値をアニメーションさせます。

Mathf.Lerpを使用してアニメーションしています。

Constructors

AnimFloat コンストラクタ

Protected Functions

GetValue Type specific implementation of BaseAnimValue_1.GetValue.

Inherited members

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.
StopAnim Stop the animation and assign the given value.