Skip to content

format

typescript
Time.realTimeSinceStartUp

class: Time

description

The real time since the game started, ignoring any time spent paused.

This method is typically used to calculate the running time of the game, perform timed operations, or handle time-related logic.

parameter

param_nametypedescription

return

typedescription
numberThe real time since the game started

code example