Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnimBool

Lerp from 0 - 1.
Read time 1 minuteLast updated 6 days ago

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