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

大约有 245 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)

191. laya.ui.HBox [ 43%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

来源: Laya2.0_api 发布时间: 20190513

192. 为什么这样加载不出来东西,别再给我发示例链接了,就是按照示例来的 [ 43%]

...395 • 2018-07-03 14:02 @Laya_Aaron:我看加载出来的这个lh文件的child是0个,那这样的话,怎么获取到这里面的8个模型,进行控制呢 158*****395 • 2018-07-03 11:51 那个lh的配置文件,发我下吧 Laya_Aaron • 2018-07-03 11:52 @158*****395:我给你的帖子中有 15...

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

193. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 42%]

...s.d.ts", "node_modules/@types/node/buffer.d.ts", "node_modules/@types/node/child_process.d.ts", "node_modules/@types/node/cluster.d.ts", "node_modules/@types/node/console.d.ts", "node_modules/@types/node/constants.d.ts", "node_modules/@types/node/crypto.d.ts", "node_modules/@types/node/dgram.d.ts", ...

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

194. Laya3.0 图片拼合缩放会导致两张图片之间有一条横线[已解决] [ 42%]

...,经过测试发现如果sprite 有放大行为 ,则会导致sprite的 child 中出现缝隙  laya2中正常。 示例代码 附件有一个完整bug重现项目   使用谷主方案已经解决,感谢谷主。     附件 : --> LayaPicLayoutTest.zip 2023-03-16 添加评论 免费帖 --> ...

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

195. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...; if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake():...

来源: Laya3.0_文档 发布时间: 20251010

196. laya.ui.Panel_API3.0 [ 41%]

...Skin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect scrollType skewX skewY stage staticCache texture timer toolTip top transform url vScrollBar vScrollBarSkin viewport visible width x y zOrder Methods ...

来源: Laya3.0_api 发布时间: 20231115

197. 微信小游戏在开放数据域绘制排行榜无法显示图片 [ 40%]

...空sharedCanvas,就直接在子域remove或者destroy掉stage的所有_childs就可以了; 如果子域里的页面有调整页面尺寸,可能就还需要重新设置矩阵什么的,不然点击、滑动等事件会错位,我不太清楚,也没有遇到这种情况。 Max.魚魚魚鱼...

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

198. u3d模型导出报错,1第一次导出报错,2第二次不会有这个错误提示了,3生成文件后到laya里面使用提示没有动画 [ 40%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...

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

199. unity 导出问题 animator出错 [ 40%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...

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

200. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 40%]

...n/env node const program = require('commander'); const { fork } = require('child_process'); const path = require('path'); program.parse(process.argv); const projPath = path.join(__dirname, '../'); const layaCompileDir = path.join(projPath, '.laya'); const gulpFilePath = path.join(layaCompileDir, 'co...

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