调用 removeAllEventListeners(); 之后是不是所有的事件都没了,包括menu里面注册的回调函数?

我在 scene1 的onexit的函数中调用了,Director::getInstance()->getEventDispatcher()->removeAllEventListeners(); 切换到scene2后,scene2中的menu全都不能点击了。

后来我又在scene1的onenter中调用了 该函数,scene1中的menu也不能用了。

是不是所有的事件回调都到了dispatcher中了?

@dumganhar 应该是这样的行为吧?
@luguanghuab 我猜你想要删除的是非系统注册的事件?