get_timer

此函数返回您的游戏在所选平台上运行的时间,以微秒为单位(每秒有 100 万微秒)。

 

语法:

get_timer();

 

返回:

Real

 

例子:

time = get_timer();

这会将计时器值存储在变量“time”中。