大约有 1,834 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1474) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...omplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } } private teComplete():void{ this.sk = this.te.buildArmature(0); this.sk.x = 400; this.sk.y = 700; this.s...
来源: Laya_社区 发布时间: 20190320
...ge.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaai...
来源: Laya2.0_文档 发布时间: 20210714
...动画和节奏的一个加速! 问题状态 最新活动: 2018-07-24 17:50 浏览: 2020 关注: 2 人 淡淡的疯 • 2018-07-24 20:33 我改用 animator 动画 报如下错误,这个是导出哪里需要设置吗,run的时候也是这个错误,实在不知道是什么原因 laya.d3.js:181...
来源: Laya_社区 发布时间: 20180724
... 2018-07-03 12:03 我按照你这个再试试 Laya_Aaron • 2018-07-03 13:50 可以加载了吗?如果还是不行可以继续回帖 158*****395 • 2018-07-03 14:02 @Laya_Aaron:可以了, 我加载出来lh文件了,但是这个lh文件包括了8个模型,现在8个模型都显示出来了,但是...
来源: Laya_社区 发布时间: 20180702
...e: number): void Defined in laya/d3/physics/shape/CylinderColliderShape.ts:50 方向。 Returns number Defined in laya/d3/physics/shape/CylinderColliderShape.ts:54 方向。 Parameters value: number Returns void radius get radius(): number set radius(value: number): void Defined in laya/d3/physics/s...
来源: Laya3.0_api 发布时间: 20231115
...NDINDICES0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:50 a_BoneWeights a_BoneWeights: [number, Vector4] = [VertexMesh.MESH_BLENDWEIGHT0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:49 a_Color a_Color: [number, Vector4] = [VertexMesh.MESH_COLOR0, ShaderDataType...
来源: Laya3.0_api 发布时间: 20231102
...bug! Clipboard_Screenshot_1754975442=1em930×1482 258 KB image=1em950×1298 161 KB 附件 : --> 2025-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 173*****903 赞同来自: 打包工具LAYA就有...
来源: Laya_社区 发布时间: 20250816
...置宽度 this.hScrollBar.width = 400; //设置位置 this.hScrollBar.pos(150, 170); //最低滚动位置数字 this.hScrollBar.min = 0; //最高滚动位置数字 this.hScrollBar.max = 100; //滚动变化事件回调 this.hScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞...
来源: Laya2.0_文档 发布时间: 20210715
...置宽度 this.vScrollBar.width = 400; //设置位置 this.vScrollBar.pos(150, 170); //最低滚动位置数字 this.vScrollBar.min = 0; //最高滚动位置数字 this.vScrollBar.max = 100; //滚动变化事件回调 this.vScrollBar.changeHandler = new Handler(this, this.onChange); //加载到舞...
来源: Laya2.0_文档 发布时间: 20210715
...应事件\n"; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 50); txt.fontSize = 20; txt.wordWrap = true; txt.color = "#FFFFFF"; Laya.stage.addChild(txt); } laya-stage为页面一个div,设置样式为 border: 2px solid #999; display: block; width: 480px; height: 360px; position: relat...
来源: Laya_社区 发布时间: 20180205