// touch event handler _onTouchBegan: function (event) { if (!this.interactable || !this.enabledInHierarchy) return; this._pressed = true; this._updateState(); event.stopPropagation(); },
以上是Button中的一段代码,希望最后一句可以去掉,让开发者来控制是否阻止事件继续传递