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

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

311. 预制体 · LayaAir3.3 · 引擎文档 · 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

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

313. 2D寻路 · LayaAir3.3 · 引擎文档 · 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

314. 文本进阶使用 · LayaAir3.3 · 引擎文档 · 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

315. laya.display.Text_API3.0 [ 26%]

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

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

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

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

319. laya.display.Stage_API3.0 [ 26%]

...oGlobal needUpdateCanvasSize off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render renderToNative repaint replaceChild runCallLater scale setChildIndex setGr...

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

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

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

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