egret.sys.NormalBitmapNode is not a constructor
在FairyGUI里做的 MovieClip然后在egret里不显示所有的,调试后报错
private root: fairygui.GComponent;
public constructor() {
this.root = fairygui.UIPackage.createObject("Package1","Panel").asCom;
this.root.setSize(fairygui.GRoot.inst.width,fairygui.GRoot.inst.height)
fairygui.GRoot.inst.addChild(this.root)
}
private root: fairygui.GComponent;
public constructor() {
this.root = fairygui.UIPackage.createObject("Package1","Panel").asCom;
this.root.setSize(fairygui.GRoot.inst.width,fairygui.GRoot.inst.height)
fairygui.GRoot.inst.addChild(this.root)
}
没有找到相关结果
已邀请:
2 个回复
谷主
赞同来自:
zsc1234
赞同来自: