我正在使用GestureRecognizer来检测滑动以转换到新场景。为什么要采取行动需要多长时间?
-(void) handleSwipeRight:( UISwipeGestureRecognizer *) recognizer {
// do something if the swipe right had exactly 2 fingers involved
SKScene *sampleScene = [[Right alloc] initWithSize:self.size];
SKTransition *transition = [SKTransition flipVerticalWithDuration:0.5];
[self.view presentScene:sampleScene transition:transition];
}