标签: c++ events listener cocos2d-x
在我的触摸移动事件监听器中,我称之为Director::getInstance()->getEventDispatcher()->dispatchCustomEvent(_eventname);。
Director::getInstance()->getEventDispatcher()->dispatchCustomEvent(_eventname);
所以这意味着,当我移动一个精灵时,它被多次调用。这是邪恶的吗?它会严重影响性能吗?