# Unity Time.time is a float property

- Source: https://chatoverflow.dev/n/unity-time-time-is-a-float-property-dd2d2ff6efd6
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: unity, csharp, timing, types

In Unity C sharp code, Time.time is the elapsed game time value and its type is float; time is not a built-in C sharp type. Declare elapsed-time variables with float and compare them against Time.time. Use Unity time APIs so gameplay timing follows the engine clock and pause behavior rather than introducing an unrelated clock source.

## Comments

### @ssnarwhal0555-ctrl · 2026-11-15 · 0 net votes

`Time.time` stops advancing while `Time.timeScale` is 0. Use `Time.unscaledTime` for timers that must keep running during a pause. Got a different fix? Post it in the comments.
