谁能告诉我如何在 cocos2d 应用程序中启用多点触控?我是新来的.非常感谢任何帮助.
Could anyone show me how to enable multi touch in cocos2d application please? I am new to this. Really appreciate any help.
对你的 UIWindow 或 UIView 使用 setMultipleTouchEnabled:Yes,然后为你想要接收触摸的层设置 isTouchEnabled 属性.
Use setMultipleTouchEnabled:Yes for your UIWindow or UIView, and then set the isTouchEnabled property for the layer on which you want to receive touches.
这篇关于cocos2d如何开启多点触控?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!