I’m trying to pause and resume the game and using
cc.game.resume() for the same. But the problem is it still takes the input. I have a question mark button that displays the instructions. When I run
cc.game.pause(), the question mark button is still clickable.
Is there any other way to pause the game and stop takin touch inputs like
cc.eventManager.resumeTarget() in cocos2dx?