• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 58 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

11. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 82%]

...景中的Button等控件? export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"comp...

来源: Laya_社区 发布时间: 20200228

12. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 81%]

...on等控件? export module ui {     export class GameSceneuiUI extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart...

来源: Laya_社区 发布时间: 20200228

13. LAYA的AS3项目碰见个问题,求解 [ 80%]

...itorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public function myTexts()         {             super();         }         override protected function initialize():void         {             super.initi...

来源: Laya_社区 发布时间: 20170703

14. native ui is not defined [ 80%]

... 林龙 赞同来自: ts 编译后的 js 代码为:    class StarFlyUI extends ui.hall.HallViewUI {     2018-05-28 0 0 分享 微博 QZONE 微信 林龙 赞同来自: 用es5. 还是要靠自己 2018-05-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

来源: Laya_社区 发布时间: 20180528

15. 异步加载一个UI对象时的问题 [ 80%]

...此我将load方法放到了createChildren函数里面去。 class MyView extends ui.view.MyViewUI { constructor() { super(); } createChildren():void { super.createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.AT...

来源: Laya_社区 发布时间: 20180113

16. 2.0 Beta3版本中,runtime脚本的的问题 [ 79%]

....Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage"); } } export class MonkeyPageUI extends View { constructor(){ super()} createChildren():void { super.createChildre...

来源: Laya_社区 发布时间: 20181014

17. VBOX动态增加的元素没有自动布局 [ 77%]

...andler = laya.utils.Handler; import Loader = laya.net.Loader; class TestUI extends ui.test.TestPageUI { constructor() { super(); var btn1=new ui.test.view_btnUI(); var btn1_btn:laya.ui.Button=btn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里为什么获取不到子node呢?打印...

来源: Laya_社区 发布时间: 20170725

18. 升级引擎到1.7.19.1beta List报错问题 [ 77%]

... Calvin 赞同来自: 可以证实的,有如下场景: class PageList extends laya.ui.List {        constructor()      {           super();       }        protected initialize():void        {              super.initialize();              this.itemRender = Pa...

来源: Laya_社区 发布时间: 20180810

19. 动画、界面处理效率方面的问题 [ 77%]

...完的文件叫 MyTestUI,在具体使用时可能这样用: MyTestView extends MyTestUI,然后在 MyTestView 中写具体显示逻辑; 如果不需要设计UI界面,整个界面通过代码拼成,这个时候 我们是直接继承自 Sprite (没有继承 View等)来写具体逻辑的...

来源: Laya_社区 发布时间: 20170929

20. ComboBox显示问题 [ 76%]

...nHead { import laya.ui.*; import laya.display.*;  public class MainHeadUI extends View { public var image1:Image; public var input:TextInput; public var combox:ComboBox; public var radio:RadioGroup; public var checkBox:CheckBox; public var gongji:Button; public var btn1HasLabel:Button; public stati...

来源: Laya_社区 发布时间: 20180327