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

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

101. 水平滑动条组件 · LayaAir3.0文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300, 300);//滑动条位置 this.hslider.skin = "resources/hslider.png";//滑动条底图皮肤 this.hslider.value = 0.5; this.hslider.max = 50; this.hslider.min = 0; this.hslider.tick = 1; th...

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

102. 基础文本 · LayaAir3.0文档 · LAYABOX [ 69%]

... @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让变量page每次自增1 this...

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

103. 动画节点 · LayaAir3.0文档 · LAYABOX [ 69%]

...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.ani.source = "resources/role.atlas"; //接收动画数据源为图集 this.ani.autoPlay = true; //开启自动播放 this.ani.wrapMode = 0; //播放模式为正序播放模式(POSITIVE) this.ani.inter...

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

104. laya.d3.core.light.PointLight_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 PointLi...

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

105. laya.d3.core.RenderableSprite3D_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 Rendera...

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

106. laya.d3.core.BaseCamera_API3.0 [ 69%]

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

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

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

108. RopeJoint代码动态创建 无法设置otherbody [ 69%]

...       super();        fruit.Fru=this;             }      onAwake() {         let rig:Laya.RigidBody=this.owner.getComponent(Laya.RigidBody);         var lala=UIcontrol.FUI.bg.getComponent(Laya.RigidBody);         this.rope=this.owner.getComponent(Laya.RopeJoint);     ...

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

109. 为什么导入脚本没有此模块 [ 68%]

...同 怎样跨页面执行脚本命令? Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 构建安卓项目导入到Android Studio 中,报错 ls文件导入错误 laya2.0 GameConfig怎么更新有scene的脚本? 官方"3D角色脚本控制与碰撞检测"这个方...

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

110. laya.d3.core.light.DirectionLight_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 Directi...

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