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

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

141. laya.resource.PrefabImpl_API3.0 [ 52%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

142. laya.spine.SpineTemplet_API3.0 [ 52%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _parse _parse(desc: string | ArrayBuffer, atlasText: string, createURL: string, progress?: IBatchProgress): Promise<void> Defined in laya/spine/SpineTemplet.ts:39 Parameters desc: string | Arra...

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

143. [分享]Laya 1 + ts,百度小游戏,开放数据域适配,非官方 [ 51%]

...时底层计算宽高,就会有可能除以0,得到NaN,从而造成清除失败,之前的绘制一直保留着。而window的宽高似乎手动设置无效,因此暂时我还没有办法,需要继续研究。   附一个完整的demo,可以参考下。 https://github.com/tianhe1986/l...

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

144. laya.display.BitmapFont_API3.0 [ 50%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

145. laya.resource.HTMLCanvas_API3.0 [ 50%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

146. laya.d3.physicscannon.CannonPhysicsSimulation_API3.0 [ 50%]

...es(): void Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:554 清除力。 Returns void dispatchCollideEvent dispatchCollideEvent(): void Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:480 这个只是给对象发送事件,不会挨个组件调用碰撞函数 组件要响...

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

147. laya.ani.AnimationTemplet_API3.0 [ 49%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

148. laya.particle.ParticleTemplate2D_API3.0 [ 48%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

149. laya.resource.BaseTexture_API3.0 [ 48%]

...ted from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Inherited from Resource._removeReference Defined in laya/resource/Resource.ts:207 Parameters Default value count: number = 1 Returns void _setC...

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

150. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 48%]

...为null,垃圾回收器将扫描无法被访问到的对象,并将其清除,这会比引用计数更消耗性能。 ### 4、资源卸载 游戏运行时总会加载许多资源,这些资源在使用完成后应及时卸载,否则一直残留在内存中。 下例演示加载资源后对比...

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