Documentation

Unity Engine


Unity Engine


ElapsedTime

The total cumulative elapsed time in seconds.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: Unity.Core
  • Assembly: UnityEngine.EntitiesModule
public readonly double ElapsedTime

Remarks

The ElapsedTime for each World is initialized to zero when the World is created. Thus, comparing timestamps across Worlds (or between Worlds and MonoBehaviours) is generally an error.