How to enable multi touch in cocos2d?

后端 未结 2 1387
情书的邮戳
情书的邮戳 2021-02-19 09:24

Could anyone show me how to enable multi touch in cocos2d application please? I am new to this. Really appreciate any help.

2条回答
  •  不要未来只要你来
    2021-02-19 10:11

    Use setMultipleTouchEnabled:Yes for your UIWindow or UIView, and then set the isTouchEnabled property for the layer on which you want to receive touches.

提交回复
热议问题