175*****371 比如sprite1注册了点击事件: this.sprite1.on(Laya.Event.CLICK, this, this.sprite1CallBack); 怎样不用点击,而用代码去触发? 是 this.sprite1.event(Laya.Event.CLICK) 这样吗?
chasel let event = new Laya.Event() button.event(Laya.Event.CLICK, event.setTo(Laya.Event.CLICK, button, button));