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

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

361. laya.d3.core.render.BaseRender_API3.0 [ 28%]

...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...

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

362. 缓动 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

... if (tweener != null) //需要判空,因为如果这段缓动已经执行完毕,会返回null tweener.kill(); //会终止这段缓动,并立刻执行下一段 3.6 自定义插值函数 开发者可以通过interp()方法设置自定义的插值函数。引擎内置了几个特别的插值函...

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

363. laya.d3.core.BaseCamera [ 28%]

...e():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 增加事件侦听器,以使侦听器...

来源: Laya2.0_api 发布时间: 20190513

364. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { let sprite = this.owner as Laya.Sprite; //sprite.cache = true; this._temp = new Laya.Sprite(); this.owner.scene.addChild(this._temp); this.findCompents(this._allAgent, sprit...

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

365. 文本进阶使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

... /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.fillText("fillText:引擎绘制的文本,适合简单的单行文本", 100, 300, " 60px simHe...

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

366. laya.d3.core.MeshRenderer_API3.0 [ 27%]

...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...

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

367. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

... /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { } /** * 组件被启用后执行,比如节点被添加到舞台后 * 此方法为虚方法,使用时重写覆盖...

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

368. laya.physics.RigidBody_API3.0 [ 26%]

...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...

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

369. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 26%]

...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisable(): v...

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

370. laya.d3.component.hlod.HLODRender_API3.0 [ 26%]

...t.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Overrides Component.onDestroy Defined in laya/d3/component/HLOD/HLODRender.ts:178 Returns void onDisable onDisable(): void Overrides Component.onDisab...

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