Skip to content

format

typescript
Time.unscaledDeltaTime

class: Time

description

The fixed frame rate increment time (in seconds) that is not affected by the time scale.

This method is used to calculate physics motion, implement countdowns, calculate frame rates, and other time-related logic that is not affected by time scaling, as it provides the real time of the game.

parameter

param_nametypedescription

return

typedescription
numberThe increment time that is not affected by the time scale.

code example