As we know, we can call CCLayer::setTouchPriority(int priority)
to disable the touch event of a layer below.
But there is no similar system in keypad. So if my running scene has serveral layer, which have KeyBackClicked()
method, all of them will be called.
But I want only one, which I can decide , to be called.
Does cocos2d-x develop team have plan to achieve this? And Is there any geek method can work by now?
Cocos2d-x version : cocos2d-2.1rc0-x-2.1.3