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

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

51. 输入文本组件 · LayaAir3.3 · 引擎文档 · 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. 初学者的提问,如何在场景中获取到对象 [ 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

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

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

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

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

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

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

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

57. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · 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

58. 垂直滚动条组件 · LayaAir3.3 · 引擎文档 · 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

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

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

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

60. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...= Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Prefab }) private loadingScenePrefab: Laya.Prefab; private loadingScene: Laya.Node; constructor() { super(); } /** * 第一次执行update之前执行,只会执行一次 */ onSt...

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