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

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

51. 输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

... @regClass() export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 ...

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

52. 获取不到父物体 节点 [ 72%]

...s game_mgr extends Laya.Script { constructor() { super(); console.log(this.owner); } } 附件 : --> 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 177*****521 赞同来自: 一找到原因, 不能在...

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

53. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 72%]

... { // 添加Spine3D渲染器组件到3D精灵节点上 this.spine3D = this.owner.addComponent(Laya.Spine3DRenderer); this.spine3D.source = "girl2/mix-and-match-pro.json"; // 设置Spine动画数据源 this.spine3D.skinName = "full-skins/girl"; // 设置皮肤名称 this.spine3D.play("idle", false); ...

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

54. 初学者的提问,如何在场景中获取到对象 [ 71%]

...下: btnclick.js 如下: onAwake(){         this.btn = this.owner;         this.btn.on(Laya.Event.CLICK,this,this.cli)                    }         cli(){         /// how to 获得text 对象,并改变text的值???     } 2020-04-12 ...

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

55. LayaAir 2.0.1 切换场景报异常 Cannot read property ‘_physicsUpdateList’ [ 71%]

...erShape=null;         this._simulation=null;         (this.owner).transform.off(/*laya.events.Event.TRANSFORM_CHANGED*/"transformchanged",this,this._onTransformChanged);     } 2019-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

56. 请问中.scene文件中添加的时间轴动画该怎么调用(非.ani文件) [ 71%]

...了 2019-03-06 0 0 分享 微博 QZONE 微信 xiaolang 赞同来自: this.owner["found"] 2019-03-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 leonszheng 相关问题 两个对象new了一个相同的对象,调用第一个的一个...

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

57. rigidBody.applyForce 物体不会移动 [ 71%]

...到的物体 this.text.text = "点击到了" + this._outHitResult.collider.owner.name; } } } 2020-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

58. 水平滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...建文本组件 this.text = new Laya.Text(); this.text.pos(300, 260); this.owner.addChild(this.text); // 滚动条皮肤资源 var skins: any[] = []; skins.push("atlas/comp/hscroll.png", "atlas/comp/hscroll$bar.png", "atlas/comp/hscroll$down.png", "atlas/comp/hscroll$up.png"); Laya.loader.load(skins...

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

59. 垂直滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...建文本组件 this.text = new Laya.Text(); this.text.pos(300, 260); this.owner.addChild(this.text); // 滚动条皮肤资源 var skins: any[] = []; skins.push("atlas/comp/vscroll.png", "atlas/comp/vscroll$bar.png", "atlas/comp/vscroll$down.png", "atlas/comp/vscroll$up.png"); Laya.loader.load(skins...

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

60. 继承Laya.Sprite3D的脚本挂在哪里的? [ 69%]

...Sprite3D的脚本,直接挂到了Scene节点上,启动时会报“this.owner._scene._addScript is not a function”,请问怎么处理? 2020-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 陆仁毅 ...

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