Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Time.unscaledTime

public static float unscaledTime;

Description

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

When called from inside MonoBehaviour's FixedUpdate, returns the unscaled fixed time.

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

Did you find this page useful? Please give it a rating: