In Cocos2d’s CCLayer class init function, “self.isTouchEnable=YES”is not useful with a error: request for member ‘isTouchEnable’ in something not a structure or union.What’s worry with it?
And registerWithTouchDispatcher funntion can’t be used too.
In Cocos2d’s CCLayer class init function, self.isTouchEnable=YESis not useful with a error: request for
Share
Try this: