Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Fade(float, float)

Returns a value between from and to depending on the current value of the bools animation.
Read time 1 minuteLast updated 10 days ago

Definition

public float Fade(float from, float to)

Parameters

from

Value to lerp from.

Value to lerp to.

Returns

Type

Description

float