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

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

1. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 100%]

...代码编译失败,提示“Property 'transform' does not exist on type 'Node'” 我从unity工程导出prefab到layaair中使用,根据文档中的介绍,使用如下代码加载prefab资源,             Laya.Sprite3D.load("res/prefabs/Conventional/SampleScene.lh", Laya.Handler.create(...

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

2. XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. [ 98%]

...了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. XmlDom没有了吗?要用哪个类? 我只找到原生的XMLDocument,可是报错 Property 'attributes' does not exist on type 'Node & ChildNode'. 谁 遇到过?let local_config:XMLDocument = ...

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

3. 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. [ 97%]

使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 2017-09-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zcourage 赞同来自: illegaldriver 、煜寒了 、182*****089 、137*****...

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

4. 控制台显示node --debug-brk=27489 --nolazy Debugger listening on [::]:27489是什么意思? [ 97%]

控制台显示node --debug-brk=27489 --nolazy Debugger listening on [::]:27489是什么意思? 官网上下载的微信打飞机的实例,运行时出现异常 2017-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...

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

5. socket与node服务端连不上?按照官方案例 [ 94%]

socket与node服务端连不上?按照官方案例 //初始化引擎 Laya.init(600,400,Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); //这里我们采用小端 this.socket.endian = Laya.Byte.LITTLE_E...

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

6. laya.display.Node_API3.0 [ 93%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Node" Node Class Node Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显示的所有对象。使用 Node 类排列显示列表中的显示对象。Node 对象可以有子...

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

7. TypeScript 泛形方法如何传TYPE? [ 91%]

TypeScript 泛形方法如何传TYPE? GetComponetInChild(node:laya.display.Node):Laya.Animator { for (var index = 0; index < node._childs.length; index++) { var element:Laya.Animator = node._childs[index].getComponentByType(Laya.Animator); if (element!=null) { return element; }else this.GetCompo...

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

8. LayaAir中怎么使用node.js 的 socket.io [ 91%]

LayaAir中怎么使用node.js 的 socket.io LayaAir中怎么使用node.js 的 socket.io 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: cobra 你需要完成二步就可以完成So...

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

9. laya.d3.core.Sprite3D_API3.0 [ 91%]

...e3D" Sprite3D Class Sprite3D Sprite3D 类用于实现3D精灵。 Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy components destroyed displayedInStage hideFlags...

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

10. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 90%]

...ionProbe.ts:50 Returns ReflectionProbe Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _isScene _isScene: boolean = false Defined in laya/d3/core/reflectionProbe/ReflectionProbe.ts:50 是否是场景探针 _scene _scene: Node Inherited from...

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