Time
Provides read-only static properties for tracking elapsed time, frame deltas, and frame counts. In VRChat worlds, Time values drive animations, cooldown timers, movement smoothing, and any frame-rate-independent logic.
Properties
| Property | Type | Access |
|---|---|---|
| deltaTime | float | get |
| fixedDeltaTime | float | get, set |
| fixedTime | float | get |
| fixedTimeAsDouble | double | get |
| fixedUnscaledDeltaTime | float | get |
| fixedUnscaledTime | float | get |
| fixedUnscaledTimeAsDouble | double | get |
| frameCount | int | get |
| inFixedTimeStep | bool | get |
| realtimeSinceStartup | float | get |
| realtimeSinceStartupAsDouble | double | get |
| renderedFrameCount | int | get |
| smoothDeltaTime | float | get |
| time | float | get |
| timeAsDouble | double | get |
| timeSinceLevelLoad | float | get |
| timeSinceLevelLoadAsDouble | double | get |
| unscaledDeltaTime | float | get |
| unscaledTime | float | get |
| unscaledTimeAsDouble | double | get |
deltaTime
Time in seconds since the last frame. Multiply by this for frame-rate-independent movement.
on Update { transform.Translate(0.0, speed * Time.deltaTime, 0.0)}fixedDeltaTime
The fixed time step in seconds used by physics updates.
let step: float = Time.fixedDeltaTimeframeCount
The total number of frames that have been rendered since the scene started.
let frame: int = Time.frameCountrealtimeSinceStartup
Real wall-clock time in seconds since the application started.
let uptime: float = Time.realtimeSinceStartuptime
Time in seconds since the scene loaded (affected by time scale).
let elapsed: float = Time.timetimeSinceLevelLoad
Time in seconds since the current scene (level) was loaded.
let since: float = Time.timeSinceLevelLoadunscaledDeltaTime
Frame delta time ignoring time scale. Useful for UI animations.
let dt: float = Time.unscaledDeltaTimeunscaledTime
Time in seconds since the scene loaded, ignoring time scale changes.
let real: float = Time.unscaledTimeMethods
Equals
Equals(obj: object) -> boolGetHashCode
GetHashCode() -> intGetType
GetType() -> SystemTypeToString
ToString() -> string