Change cc.game.onEnter to cc.game.onStart