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

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

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

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

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

312. 预制体模块 · LayaAir3文档 · LAYABOX [ 28%]

...= Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/p...

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

313. 预制体 · LayaAir3.4 · 引擎文档 · LAYABOX [ 27%]

...= Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let resArr: Array<any> = [ { url: "resources/p...

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

314. laya.display.Animation_API3.0 [ 27%]

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

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

315. 2D寻路 · LayaAir3.4 · 引擎文档 · 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, sprite.scene, Nav2DAgent); } onMouseClick...

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

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

...时所有节点和组件均已创建完毕,此方法只执行一次 */ 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

317. laya.display.Text_API3.0 [ 27%]

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

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

318. laya.ui.HScrollBar_API3.0 [ 26%]

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

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

319. laya.ui.VScrollBar_API3.0 [ 26%]

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

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

320. laya.ui.AdvImage_API3.0 [ 26%]

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