Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Time.unscaledTime

static var unscaledTime: float;
static float unscaledTime;
static unscaledTime as float

Description

The timeScale-independant time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.

Returns the same value if called multiple times in a single frame. Unlike time this value is not affected by timeScale.