且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 spritekit 中向节点添加滑动手势

更新时间:2023-11-17 14:06:53

遇到了同样的问题,所以我们对此有一个公认的答案我想指出 0x141E 留下的评论是解决这个问题的正确方法:

Had the same problem, just so we have an accepted answer on this I would like to point out that the comment left by 0x141E is the correct solution to this:

Selector("swipedRight:") 替换为 #selector(PlankScene.swipedRight)