format
typescript
Time.timeScaleclass: Time
description
The scaling factor of the current game time.
This method allows you to achieve fast-forward or slow-motion effects in the game. For example, setting timeScale to 2.0 will make the game time go twice as fast, while setting it to 0.5 will make the game time go half as slow.
parameter
| param_name | type | description |
|---|
return
| type | description |
|---|---|
number | The scaling factor of the game time. |
