在web、小游戏…平台可以使用
cc.Button.prototype["touchBeganClone"] = cc.Button.prototype["_onTouchEnded"];
cc.Button.prototype["_onTouchEnded"] = function (event) {
if (this.interactable && this.enabledInHierarchy) {
// 播放自己的按钮音效
SoundMgr.inst.playEffect("click")
}
this.touchBeganClone(event);
}
但在安卓上无法使用,各位大佬,有解吗?

