Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Evaluate(float)

Evaluate the curve at time.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float Evaluate(float time)

Parameters

time

The time within the curve you want to evaluate (the horizontal axis in the curve graph).

Returns

Type

Description

floatThe value of the curve, at the point in time specified.