文档

Unity Engine


Unity Engine


AnimBool

Lerp from 0 - 1.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class AnimBool : BaseAnimValueNonAlloc<bool>, ISerializationCallbackReceiver

Remarks

When value is 0 returns false, when value > 0.5 returns true. Animated using Mathf.Lerp.

Constructors

Properties

Property

Description

fadedRetuns the float value of the tween.

Methods

Method

Description

FadeReturns a value between from and to depending on the current value of the bools animation.
GetValueType specific implementation of BaseAnimValue<T>.GetValue().

Inheritance