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

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

131. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 66%]

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

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

132. laya.d3.core.trail.TrailSprite3D_API3.0 [ 66%]

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

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

133. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

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

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

134. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

... @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_文档 发布时间: 20251010

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

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

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

136. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 65%]

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

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

137. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 65%]

...频和我们生命周期使用的示例 LayaAir大为 • 2025-06-10 10:32 onAwake是脚本被激活时执行的方法,在创建场景时,会在脚本所属节点添加到场景中时执行此方法,节点添加到场景是先添加父节点,然后添加子节点,onAwake执行顺序也...

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

138. Laya.Script 常驻脚本 DotDestroyOnLoad [ 65%]

...命令? 脚本组件添加对象问题 Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 问题状态 最新活动: 2019-05-23 11:57 浏览: 1081 关注: 2 人

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

139. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "...

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

140. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 64%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeLine removeSelf replaceChild runCallLater setChildIndex setLine timerLoop timerOnce instantiate load Constructors cons...

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