1,图片不支持点击事件
2,GLoader也是用的Laya.Loader
3,导出代码出来的Component类似以前flash的fla里面的原件命名后直接可以拿来用
4. GObject类也是 调用Laya原生的Sprite的on侦听事件
public onClick(thisObj: any, listener: Function, args?: any[]): void {
this.on(Laya.Event.CLICK, thisObj, listener, args);
}
public on(type: string, thisObject: any, listener: Function, args?: any[]): void {
this._displayObject.on(type, thisObject, listener, args);
}
5. 前端自动化:谈谈grunt和gulp的区别
fairyGUI和laya2都是用的gulp编译代码

相关文章:

  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-08-08
  • 2022-01-17
  • 2021-09-24
猜你喜欢
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2021-06-27
  • 2022-01-25
  • 2021-12-22
  • 2021-09-23
相关资源
相似解决方案