Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimBool.Fade

public float Fade(float from, float to);

Parameters

from Value to lerp from.
to Value to lerp to.

Description

Returns a value between from and to depending on the current value of the bools animation.