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

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

311. 文本进阶使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

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

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

312. laya.display.Input [ 33%]

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

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

313. laya.display.Animation [ 33%]

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

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

314. laya.display.Text [ 33%]

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

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

315. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 32%]

...的完整周期过程,有主动触发的主干生命周期方法,例如onAwake()、onEnable()、等。也有被动触发的事件类生命周期虚方法,这种只有在某个条件达到时才会自动激活,例如,本小节要讲的物理事件相关的方法。 2.4.1 物理事件的生...

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

316. laya.display.Stage [ 31%]

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

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

317. laya.display.Sprite [ 30%]

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

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

318. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 30%]

...完整周期过程,有主动触发的主干生命周期方法,例如`onAwake()`、`onEnable()`、等。也有被动触发的事件类生命周期虚方法,这种只有在某个条件达到时才会自动激活,例如,本小节要讲的物理事件相关的方法。 ##### 2.4.1 物理事件...

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

319. laya.ui.Button_API3.0 [ 19%]

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

320. laya.ui.CheckBox_API3.0 [ 19%]

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