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

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

371. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 52%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

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

372. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 51%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

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

373. laya.d3.physics.CharacterController_API3.0 [ 51%]

... 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

374. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 51%]

... 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

375. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 51%]

... 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

376. laya.d3.core.MeshRenderer_API3.0 [ 51%]

... 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

377. laya.components.Animator2D_API3.0 [ 50%]

... 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

378. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 50%]

... 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

379. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...tTween()或是Laya.Tween.getTweens()方法查询对象关联的缓动。 //获取对象上的第一个缓动 let tween = Tween.getTween(aSprite); if (tween != null) tween.kill(); //获取对象上的全部缓动 let tweens = Tween.getTweens(sSprite); tweens.forEach(tween => tween.kill()); kill()...

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

380. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 50%]

...this.tipLbll,this.scoreLbl,具有代码提示效果。而script脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻辑,需要频繁访问页面内多个元素,使用runtime继承式写法,如果是独立小模块,功能单...

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