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

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

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

...ht":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":143,"skin":"co...

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

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

...ht":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":143,"skin":"co...

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

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

...tton","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(GameSceneuiUI.uiView); } } REG("ui.GameSceneuiUI",GameScene...

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

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

...tton","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]};         constructor(){ super()}         createChildren():void {             super.createChildren();         ...

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

5. ToolTip鼠标悬停的使用 [ 82%]

...提示 var button:Button=new Button(); Laya.stage.addChild(button); button.label="button One"; button.pos(100,100); button.skin="comp/button.png"; button.toolTip="我是button One!"; //自定义鼠标提示 var button2:Button=new Button(); Laya.stage.addChild(button2); button2.label="button Two"; bu...

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

6. list里面可以加入多个view吗? [ 80%]

...ar.hide = true; 整体UI结构: VIEW -----list --------view -------------label 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 你的描述不是很明确,不过list下可以...

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

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

...建了一个scene并使用内嵌模式,界面只是简单显示了一个label,在运行时,报错“laya.core.js:22326 Uncaught Can not find scene:Hello.scene”,原因是在/bin/目录下找不到场景对应的描述文件Hello.json。这让我很不理解,内嵌模式的描述不是已...

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

8. clearRes好像没作用,或许我的用法不对 [ 77%]

...imation用法疑问 请问关于遮罩的用法,在哪块可以找到? Label组件字体大小计算不对 Laya.URL.basePath与Laya.loader.load用法 打包的作用是什么 图片Sprite绑定点击事件,点击区域不对 MiniAdpter.autoCacheFile=true没有任何作用,并没有缓存资...

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

9. label 第一次赋值不能为0 [ 72%]

label 第一次赋值不能为0 var label = new Laya.Label(); label .text = 0;//赋值0无效,其他值可以 1.7.1 2017-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 0应该是...

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

10. Panel中添加图片无法显示,文本可以 [ 70%]

...anel.width = 500;     panel.height = 500;     panel.x = 200;     var label = new laya.ui.Label();     label.text = "fsadfsdfsdfsdfsdf";     label.color = "#ff0000";     label.fontSize = 40;     label.y = 50;     var label2 = new laya.ui.Label();     label2.text = "fsadfsdfsdfsdfsdf...

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