fairyGUI学习笔记

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编译代码

原文地址:https://www.cnblogs.com/as3lib/p/14698897.html