大约有 400 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...克隆对象,统计面板的显存和内存就会显示成负数 怎么获取对象的坐标 使用getChildByName()无法得到子节点对象 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 分享:LayaAir下如何获取图集下的小图资源? 编辑了图...
来源: Laya_社区 发布时间: 20180404
...player设置了点击z方向向前移动 2、GameManager.ts:40-41行获取被碰撞体、72-94行管理被碰撞体和给每个被碰撞体添加了刚体,同时 isTrigger =true,isKinematic=true,绑定了自定义ObstacleController.ts脚本 ,脚本里面添加了 onTriggerEnter,onTrigger...
来源: Laya_社区 发布时间: 20200728
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 probeCounts probeCounts: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:12 probeStep probeStep: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:13 O...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...
来源: Laya2.0_文档 发布时间: 20210715
...4-2) tt.loadSubpackage会返回一个LoadSubpackageTask,可以通过它获取当前下载进度。 参考抖音小游戏官方文档。 打印的参数的意义分别是: name:分包的名字; progress:分包下载进度百分比; totalBytesWritten:已经下载的数据长度,单...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115