[LayaAirIDE 2.0]如何才能生成scene配套的代码
在demo里有个类TestSceneUI 请问如何才能生成
/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */
package ui.test {
import laya.ui.*;
import laya.display.*;
public class TestSceneUI extends Scene {
public var scoreLbl:Label;
public var tipLbll:Label;
override protected function createChildren():void {
super.createChildren();
loadScene("test/TestScene");
}
}
}
/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */
package ui.test {
import laya.ui.*;
import laya.display.*;
public class TestSceneUI extends Scene {
public var scoreLbl:Label;
public var tipLbll:Label;
override protected function createChildren():void {
super.createChildren();
loadScene("test/TestScene");
}
}
}
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Laya_Xq
赞同来自: