Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


fixedUnscaledTimeAsDouble

The double precision timeScale-independent time at the beginning of the last MonoBehaviour.FixedUpdate() (Read Only). This is the time in seconds since the start of the game.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static double fixedUnscaledTimeAsDouble { get; }

Remarks

Returns the same value if called multiple times in a single frame. Unlike Time.fixedTimeAsDouble this value is not affected by Time.timeScale. Double precision version of Time.fixedUnscaledTime. This offers more precision than a float or single value, particularly over extended periods of real-world time. In almost all cases, you should use the Time.fixedUnscaledTimeAsDouble equivalent over Time.fixedUnscaledTime.