看看代码高亮。

- (void)touchMoved:(CCTouch *)touch withEvent:(CCTouchEvent *)event { CGPoint touchPoint = [[CCDirector sharedDirector] convertToGL:[touch locationInView:touch.view]]; [self updateDirectionForTouchLocation:touchPoint]; }

这个不好用。

posted on 2015-05-04 01:32  斯旺罗普的夏天  阅读(89)  评论(0)    收藏  举报

导航