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

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

121. laya.d3.core.RenderableSprite3D_API3.0 [ 67%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Rendera...

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

122. 显示文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.lab.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.lab.size(500, 30); //大小 this.lab.pivot(this.lab.width/2, this.lab.height/2); //轴心点 this.lab.text = "大家好,...

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

123. laya.d3.core.light.DirectionLight_API3.0 [ 67%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Directi...

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

124. IDE场景渲染错误 [ 67%]

...。您可以将_init方法放到Main脚本的生命周期函数内,例如onAwake或者onEnable等,但不建议放到构造函数内,这样在IDE内编辑时不会执行生命周期函数,来避免出现这种现象。 2023-02-07 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

125. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 67%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce createFromMesh createFromMeshAndHeig...

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

126. 垂直滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vslider.pos(300,300);//滑动条位置 this.vslider.skin = "resources/vslider.png";//滑动条底图皮肤 this.vslider.value = 0.5; this.vslider.max = 50; this.vslider.min = 0; this.vslider.tick = 1; thi...

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

127. 水平滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; th...

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

128. laya.d3.core.MeshSprite3D_API3.0 [ 66%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new MeshSpr...

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

129. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 66%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ShuriKe...

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

130. RopeJoint代码动态创建 无法设置otherbody [ 66%]

...       super();        fruit.Fru=this;             }      onAwake() {         let rig:Laya.RigidBody=this.owner.getComponent(Laya.RigidBody);         var lala=UIcontrol.FUI.bg.getComponent(Laya.RigidBody);         this.rope=this.owner.getComponent(Laya.RopeJoint);     ...

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