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

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

151. LayaAir的组件化开发(TypeScript-IDE篇(TS)-组件化开发相关) [ 40%]

...------- | ------------------------------------------------------------ | | onAwake | 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只会执行一次 | | onEnable | 组件被启用后执行,比如,节点被添加到舞台后执行 | | onStart | 在第1次执...

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

152. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

... } from "./Main"; @regClass() export class BloodBar extends BloodBarBase { onAwake(): void { this.bar.value = 1; this.value.visible = false; Laya.stage.on(Laya.Event.CLICK, this, this.onHurt); } onHurt(): void { this.bar.value = this.bar.value - 0.9; this.value.y = 35; this.value.visible = true; Mai...

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

153. laya.d3.core.light.DirectionLight [ 36%]

...mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:A...

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

154. laya.html.dom.HTMLIframeElement_API3.0 [ 36%]

...orOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex set...

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

155. laya.html.dom.HTMLDivElement_API3.0 [ 35%]

...orOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex set...

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

156. laya.d3.core.light.PointLight [ 35%]

...mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:A...

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

157. laya.d3.core.light.SpotLight [ 35%]

...mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:A...

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

158. laya.physics.PhysicsDebugDraw_API3.0 [ 35%]

...orOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds s...

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

159. laya.map.TileAniSprite_API3.0 [ 35%]

...orOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfB...

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

160. laya.particle.Particle2D_API3.0 [ 34%]

...orOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics set...

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