this.node['_touchListener'].setSwallowTouches(false);
这个 在2.4.11报错 this.node[’_touchListener’] 为空
this.node['_touchListener'].setSwallowTouches(false);
这个 在2.4.11报错 this.node[’_touchListener’] 为空
需要先注册事件,再调用这行代码
解决了 明明被穿透物体不需要任何事件,也要去注册一个事件。太坑了。