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

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

401. Laya.Utils.parseXMLFromString(treeData)好像没有 [ 52%]

...到要设置FPS laya 好像不能加载网络路径图片 请问下laya.ui.Component下面的anchorX和anchorY的作用,好像显示有问题? 好像Laya 不能像pixi 新建多个舞台 laya引用的第三方物理引擎matter,通过顶点构造的多边形好像有问题? 问题状态 最...

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

402. TypeError: Cannot read property 'm_jointList' of null [ 52%]

...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

403. js引擎 怎么使用npm安装的js库呢? 有没有例子可以学习下呢? [ 52%]

...6 0 0 分享 微博 QZONE 微信 zalecn 赞同来自: 了解,需要使用Component或duo之类的工具 build后放到可以找到的目录下 2017-02-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 看了其他引擎才发现 LAY...

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

404. 射线检测-点击行走 [ 52%]

...0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); var mat = new Laya.StandardMaterial(); mat.diffuseTexture = Laya...

来源: Laya_示例 发布时间: 20251130

405. 按照官方例子操作,自定义组件编译出错 [ 52%]

...自定义组件编译出错 用fd编译报错 libs/laya/src/laya/editorUI/Component.as (86):warning:model This variable is not defined. 发现官方自定义组件教程里的地址https://github.com/layabox/layaair-ide-ui,更新时间是2016年的 代码里写的是model && model.size(_wi...

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

406. 对话框点击空白处无法关闭 [ 52%]

...r __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","props":{"width":266,"height":720},"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"poker/bottom_slider.png"...

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

407. [LayaAir3]使用FairyGUI导出的界面中有Spine 在编辑器无法显示 [ 52%]

...e组件的,可以查看相关的文档:https://layaair.com/3.x/doc/IDE/Component/2D/2DRender/Spine2DRenderNode/readme.html 2025-11-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 月雪走 相关问题 unity导出粒子文件问题...

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

408. 场景节点如何获取,类似cocos的cc.find [ 52%]

...用了。   如果要调用其它script的方法,可以使用self.xxx._components[0].someFunc(); 我这么用好使,但是可能不规范,最好还是问问官方。 2019-03-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 181***...

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

409. 脚本的事件(JavaScript-3D基础(JS)-LayaAir3D的脚本使用) [ 52%]

...ayaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language...

来源: Laya2.0_文档 发布时间: 20210714

410. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 52%]

...property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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