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

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

1. JSON文件加载成功后,怎么解析成Object对象 [ 100%]

...800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflow = Text.SCROLL; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.color = "#FF9632"; Laya.stage.addChild(txt); var test:Object = JSON.parse('{"id": 0, "name": "Chen"}'); trace...

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

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

...2,tab3","var":"tab"},"type":"Tab"},{"props":{"x":259,"y":223,"skin":"comp/vscroll.png","height":150},"type":"VScrollBar"},{"props":{"x":224,"y":223,"skin":"comp/vslider.png","height":150},"type":"VSlider"},{"type":"List","child":[{"type":"Box","child":[{"props":{"skin":"comp/label.png","text":"this ...

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

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

...2,tab3","var":"tab"},"type":"Tab"},{"props":{"x":259,"y":223,"skin":"comp/vscroll.png","height":150},"type":"VScrollBar"},{"props":{"x":224,"y":223,"skin":"comp/vslider.png","height":150},"type":"VSlider"},{"type":"List","child":[{"type":"Box","child":[{"props":{"skin":"comp/label.png","text":"this ...

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