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

大约有 384 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0070 秒)

261. 屏幕适配 · LayaAir3.0文档 · LAYABOX [ 32%]

...一个容器组件中,例如box。然后,我们在场景Runtime类的onAwake生命周期中,控制这个容器的相对布局属性,就可以实现在刘海屏下进行特殊的位置处理了。 示例代码如下: onAwake():void{ //宽高比大于2为刘海屏 if((Browser.clientHeight/Br...

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

262. laya.ui.WXOpenDataViewer_API3.0 [ 32%]

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

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

263. laya.media.VideoNode_API3.0 [ 32%]

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

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

264. laya.ui.UIComponent_API3.0 [ 32%]

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

265. laya.d3.core.Sprite3D [ 31%]

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

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

266. vivo小游戏 · LayaAir3.0文档 · LAYABOX [ 31%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sp...

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

267. laya.ui.ScaleBox_API3.0 [ 31%]

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

268. laya.d3.core.RenderableSprite3D [ 31%]

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

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

269. laya.display.Scene_API3.0 [ 31%]

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

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

270. laya.ui.Box_API3.0 [ 31%]

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