[LayaAir 2.0]layaMaxUI.ts的自动生成代码bug
版本 laya_ide_2.0.2_beta,
ts版本,
内嵌模式
自己编写SceneBase作为 Scene的基类 在ide编辑模式中使用
运行demo 按F12 生成 代码如下
期待生成SceneBase, 结果仍然生成Laya.SceneBase
其他关联链接:
https://ask.layabox.com/question/41891
据说这个版本解决, 我等了很多天之后,测试仍然没有解决
这个bug给我带来极大困扰,请帮忙处理一下!!
ts版本,
内嵌模式
自己编写SceneBase作为 Scene的基类 在ide编辑模式中使用
运行demo 按F12 生成 代码如下
/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */
import SceneBase from '../SceneBase'
import View=Laya.View;
import Dialog=Laya.Dialog;
var REG: Function = Laya.ClassUtils.regClass;
export module ui {
export class MainSceneUI extends Laya.SceneBase {
constructor(){ super()}
createChildren():void {
super.createChildren();
this.loadScene("MainScene");
}
}
REG("ui.MainSceneUI",MainSceneUI);
}
期待生成SceneBase, 结果仍然生成Laya.SceneBase
其他关联链接:
https://ask.layabox.com/question/41891
据说这个版本解决, 我等了很多天之后,测试仍然没有解决
这个bug给我带来极大困扰,请帮忙处理一下!!
要回复问题请先登录
3 个回复
186*****028
赞同来自:
Aar0n
赞同来自:
迦夜
赞同来自: