标签:os io ar art sp on c ad php
Cocos2d-x3.X版本事件注册方法:
auto listener = EventListenerTouchOneByOne::create(); listener->onTouchBegan = CC_CALLBACK_2(ChartDemoScene::onTouchBegan,this); Director::getInstance()->getEventDispatcher()->addEventListenerWithSceneGraphPriority(listener, sprite);
标签:os io ar art sp on c ad php
原文地址:http://blog.csdn.net/yuxikuo_1/article/details/39027891