gx389589802 this.sList.mouseHandler = Laya.Handler.create(this, this.onMouse);//鼠标响应事件this.sList.mouseHandler = new Laya.Handler(this, this.onMouse) ; // 鼠标事件响应.
cuixueying 1、Handler.create从对象池内创建一个Handler,默认会执行一次并立即回收,如果不需要自动回收,设置once参数为false。2、new Handler,通过new的方式创建,不会自动回收,每次的鼠标事件行为都会触发一次new Handler