Skip to content

format

typescript
Time.frameTime

class: Time

description

The total time elapsed since the start of the game.

This is typically used for executing time-related logic, timing operations, or performing periodic tasks. It is affected by the game time scale, Time.getScale.

parameter

param_nametypedescription

return

typedescription
numberThe total time elapsed

code example