cocos如何检测当前是否在运行中?

  • Creator 版本:2.4.9

Cocos 有没有像unity的Application.isPlaying这样的api,用来检测游戏是否在运行?

cc.game.isPaused