Documentation

Unity Engine

Download Unity

Unity Engine

ElapsedTime

The total cumulative elapsed time in seconds.
Read time 1 minuteLast updated a month 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.