Skip to content

Time

Time, not to be confused with the deprecated Timer class, is a static global class which provides access to Unity's time information.

Example Usage

Time.time

Member Variables

Function Name Description Return
time The current time. Works like os.time() but is more accurate. Read only.
delta_time The amount of time since the last frame. Read only.
fixed_delta_time The interval (in seconds) between physics updates. Read only.