Cocos Creator 判斷Touch位置在節點(Node)內

cocos Creator2.01 沒有cc.rectContainsPoint api了 cocos creator 2.0.1之後使用如下方法 onLoad() { this.node.on("touchstart", this.on_touch_begin, this); self = this; }, on_touch_begin(
相關文章
相關標籤/搜索