* 游戏开始和游戏暂停后开始播放的时候调用。 * * Called while the game to play when game pause.
()
| 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 | * 游戏暂停的时候调用。 |