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

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

1. layaUI.max.all.js 这个文件怎么生成的? [ 100%]

...rops":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.pn...

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

2. 用laya自带的ui编辑器 编辑了一个ui界面,怎么加载啊? 怎么写代码让这个ui界面, 在程序运行时,显示出来啊? [ 98%]

...rops":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.pn...

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

3. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 92%]

...   "searchKey":"View",     "props":{"width":640,"sceneColor":"#000000","height":1136},     "nodeParent":-1,     "maxID":11,     "label":"View",     "isOpen":true,     "isDirectory":true,     "isAniNode":true,     "hasChild":true,     "compId":2,     "child":[         {    ...

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

4. 分包后, 资源加载问题 [ 87%]

...gjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":0,"x":0,"width":192,"skin":"loading/dt_...

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

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

...ya.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"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} cre...

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

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

...   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"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]};         constructor...

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

7. 关于缓动函数from的一些问题记录 [ 78%]

...Text(); letterText.text ="hello world"; letterText.width = 400; letterText.height = 200; letterText.fontSize = 36; letterText.align = "center"; letterText.valign = "middle"; var offsetPos={offsetX:100,offsetY:100}; letterText.x = Laya.stage.width - letterText.width>>1 +offsetPos.offsetX; lette...

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

8. ComboBox显示问题 [ 74%]

...iew:Object = {"type": "View", "props": {"x": "0", "y": "0", "width": 388, "height": 376}, "child": [{"type": "ComboBox", "props": {"var": "combox", "stateNum": "1", "x": 7, "y": 146, "width": 91, "height": 23, "skin": "MainHead/combobox1.png", "labels": "hihihi,hihihi2,hihihi2"}}]}; override protect...

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

9. 在2.0里如何调用在编辑模式下创建的对话框 [ 73%]

...electedBox":1, "selecteID":3, "props":{"width":640,"sceneColor":"#000000","height":480}, "nodeParent":-1, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":1, "child":[ { "x":15, "type":"Image", "props":{"y":0,"x":0,"width":640,"skin":"comp/img_bg.png",...

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

10. 内嵌模式创建scene,运行时报找不到json文件 [ 72%]

...ds Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"loadList":["comp/label.png"],"loadList3D":[]}; constructor(){ supe...

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