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

Method onPause

packages/plugin-matterjs/lib/PhysicsSystem.ts:175–177  ·  view source on GitHub ↗

* 游戏暂停的时候调用。 * * Called while the game paused.

()

Source from the content-addressed store, hash-verified

173 * Called while the game paused.
174 */
175 onPause() {
176 this.engine.stop();
177 }
178 /**
179 * System 被销毁的时候调用。
180 * Called while the system be destroyed.

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected