今天使用Sneakyinput开源框架做虚拟操作杆的时候,导入文件报错Cannot find protocol declaration for CCTargetTouchDelegate/CCStandardTouch,查询各种资料终于知道在cocos2d 2.1中协议明变了
CCTargetedTouchDelegate -> CCTouchOneByOneDelegate
CCStandardTouchDelegate -> CCTouchAllAtOnceDelegate
今天使用Sneakyinput开源框架做虚拟操作杆的时候,导入文件报错Cannot find protocol declaration for CCTargetTouchDelegate/CCStandardTouch,查询各种资料终于知道在cocos2d 2.1中协议明变了
CCTargetedTouchDelegate -> CCTouchOneByOneDelegate
CCStandardTouchDelegate -> CCTouchAllAtOnceDelegate