phaser-time
Installation
SKILL.md
Phaser:时间与定时器系统
适用版本:Phaser 3.90.0
访问时间系统
// 在 Scene 中通过 this.time 访问 Clock
this.time // Clock 实例
this.time.now // 当前时间(ms,相对游戏启动)
this.time.paused // 是否暂停
适用版本:Phaser 3.90.0
// 在 Scene 中通过 this.time 访问 Clock
this.time // Clock 实例
this.time.now // 当前时间(ms,相对游戏启动)
this.time.paused // 是否暂停