'ccTouchesEnded'에 해당되는 글 1건

  1. 2011.08.10 [Objective C] Mouse(Touch) Location
 Getting location for touch!
 
Get the position!


-(void)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{

    UITouch *touch = [touches anyObject];

    CGPoint location = [touch locationInView:touch.view];   
}

 

신고
Posted by ParkPill 박필