MCPcopy Create free account
hub / github.com/eva-engine/eva.js / onResume

Method onResume

packages/plugin-sound/lib/SoundSystem.ts:98–103  ·  view source on GitHub ↗

* 游戏开始和游戏暂停后开始播放的时候调用。 * * Called while the game to play when game pause.

()

Source from the content-addressed store, hash-verified

96 * Called while the game to play when game pause.
97 */
98 onResume() {
99 if (!this.autoPauseAndStart) {
100 return;
101 }
102 this.resumeAll();
103 }
104
105 /**
106 * 游戏暂停的时候调用。

Callers

nothing calls this directly

Calls 1

resumeAllMethod · 0.95

Tested by

no test coverage detected