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

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

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

...th":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.png","clipX":10,"var":"clip"},"type":"Clip"},{"props":{"x":220,"y":1...

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

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

...th":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.png","clipX":10,"var":"clip"},"type":"Clip"},{"props":{"x":220,"y":1...

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

3. 更新到1.7.6beta之后,HBox有bug [ 87%]

..."; break; case 2: skin = "comp/btn_close.png"; break; case 3: skin = "comp/button.png"; break; case 4: skin = "comp/checkbox.png"; break; case 5: skin = "comp/clip_selectBox.png"; break; case 6: skin = "comp/clip_tree_arrow.png"; break; case 7: skin = "comp/clip_tree_folder.png"; break; case 8: skin...

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

4. typescipt在一定范围内加载图片按照等比排列 [ 74%]

...   myTestUI.imgList.array = ['comp/bg.png', 'comp/btn_close.png', 'comp/button.png', 'comp/image.png'];     myTestUI.imgList.renderHandler = new Laya.Handler(this, onImgListRender);   function onImgListRender(box: Laya.Box) {     let model = box.dataSource;     let panel = box.getChi...

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