Skip to content

Phaser.Time.Events ​

Phaser v4.1.0 · 英文原文

Scope: static

源码:src/time/events/index.js#L7

静态函数 ​

COMPLETE ​

COMPLETE ​

说明:

时间线完成事件.

本次活动在全部活动进行时,按时间表发出。

使用 Timeline.on('complete', listener) 的时光网上的视频,即:

javascript
const timeline = this.add.timeline();
timeline.on('complete', listener);
timeline.play();

参数:

名称类型可选说明
timelinePhaser.Time.Timeline否引用事件发射时间线 。

源码:src/time/events/COMPLETE_EVENT.js#L7
引入版本:3.70.0



社区翻译