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

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

111. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.selected = true; this.checkbox.label = "多选框"; this.checkbox.labelBold = true; this.checkbox.labelSize = 30; this.checkbox.labelColors = "#0100ff, #16fa0e, #f...

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

112. 位图切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); // 位置 this.clip.skin = "atlas/comp/clip_num.png"; // 皮肤 this.clip.interval = 1000; // 切片动画的播放时间间隔1000毫...

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

113. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hscroll.skin = "atlas/comp/hscroll.png";//滚动条皮肤 this.hscroll.width = 300;//滚动条的宽度 this.hscroll.pos(300, 300);//滚动条的位置 this.hscroll.min = 0;//滑块的最小滚动位置 t...

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

114. 垂直滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vscroll.skin = "atlas/comp/vscroll.png";//滚动条皮肤 this.vscroll.width = 300;//滚动条的宽度 this.vscroll.pos(300, 300);//滚动条的位置 this.vscroll.min = 0;//滑块的最小滚动位置 t...

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

115. laya.d3.core.light.LightSprite_API3.0 [ 69%]

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

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

116. [LayaAir 1.0]怎么给动态添加的组件 添加附加脚本 [ 68%]

... = new Laya.Sprite();         let s = new Laya.Script();         s.onAwake = ()=>{           //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次         }         s.onLateUpdate = ()=>{           //每帧更新时执...

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

117. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

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

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

118. laya.d3.core.light.PointLight_API3.0 [ 68%]

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

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

119. laya.d3.core.BaseCamera_API3.0 [ 67%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerO...

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

120. laya.d3.core.light.SpotLight_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 SpotLig...

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