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

スクリプト言語

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

AnimBool

Namespace: UnityEditor.AnimatedValues

/

Inherits from: AnimatedValues.BaseAnimValue_1

Description

0から1へ補完されます。

valueが0を返している場合はfalseを、0.5より上の場合はtrueを返します。これはMathf.Lerpを使用してアニメーションしています。

Variables

faded TweenのFloat値を返します。

Constructors

AnimBool コンストラクタ

Functions

Fade 現在のboolアニメーションの値に応じての間の値を返します。

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.