请问怎么屏蔽slider的滑动和点击事件?

cc.eventManager.removeListener(this.node._touchListener);
this.node.off(cc.Node.EventType.TOUCH_MOVE, this.on_touch_move, this);
this.node.targetOff(this);
以上都不行,版本2.3.1

直接用图片,就不用屏蔽了

直接覆盖一张透明图片就好

slider.enable = false