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

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

21. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 78%]

..."isOpen":true,     "isDirectory":true,     "isAniNode":true,     "hasChild":true,     "compId":2,     "child":[         {             "x":15,             "type":"List",             "searchKey":"List",             "props":{"width":"100","height":"100"},       ...

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

22. Node类中getChildByName没有null容错 [ 77%]

Node类中getChildByName没有null容错 laya.core Node类,这里的this._childs可能为null。 这里希望框架做一下容错! 附件 : --> 2017-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixu...

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

23. 1.7.9 UI编辑器编辑页面后发布,资源不会打包 [ 75%]

...错信息 2017-09-07 0 0 分享 微博 QZONE 微信 Lu123456 赞同来自: child_process.js:545 throw err; ^ Error: spawnSync cmd.exe ENOENT at exports._errnoException (util.js:1022:11) at spawnSync (child_process.js:480:20) at execSync (child_process.js:536:13) at childProcess.(anonymous function) ...

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

24. 设置zorder没有用,如图 [ 74%]

...是该节点在其父节点中的下标大小,可以调试看下 node._childs, 这是一个节点的所有子节点数组; zorder影响的也是_childs中各节点的下标排序;   你这个不是同一级吧 2018-03-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

25. 使用layaair-cmd管理资源版本报错 [ 71%]

...cmd resourceVersion -i bin -o ./ -n 1000 返回是一堆报错: internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at Object....

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

26. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 70%]

...个名字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child &a...

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

27. unity导出动画如何使用 root motion node [ 70%]

...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_社区 发布时间: 20180920

28. 使用HTMLIframeElement加载html网页的问题。 [ 70%]

...下 var table = document.getElementById("tb1");//获取第一个表格 var child = table.getElementsByTagName("tr")[rowIndex - 1];//获取行的第一个单元格 var text = child.firstChild.innerHTML; window.alert("表格第" + rowIndex + "的内容为: " + text); 2017-03-15 0 2 分享 微博 QZONE...

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

29. 在2.0里如何调用在编辑模式下创建的对话框 [ 70%]

..."label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":1, "child":[ { "x":15, "type":"Image", "props":{"y":0,"x":0,"width":640,"skin":"comp/img_bg.png","sizeGrid":"25,5,5,5","height":480}, "nodeParent":1, "label":"Image", "isDirectory":false, "isAniNode":tru...

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

30. 使用getChildByName()无法得到子节点对象 [ 69%]

使用getChildByName()无法得到子节点对象    page2._list.renderHandler = new Handler(this, onRender);         function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)retu...

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