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

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

401. [LayaAir3]Laya3 满帧情况文字或者物体移动卡顿问题,请求解决 [ 43%]

...1 用到现在laya3 很多年了,真希望越来越好。望重视 参考脚本 export default class Times 附件 : --> LayaFps.zip 2025-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 谷主 赞同来自: ...

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

402. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...中,新建一个2D空项目,在Scene2D下新建一个自定义的组件脚本,并添加如下代码: onAwake(): void { //侦听自定义的事件"Click" this.owner.on("Click",this,()=>{ console.log("侦听到自定义的“Click”事件"); }) } //鼠标点击后执行,发送Click事件...

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

403. laya.components.Widget_API3.0 [ 43%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

404. laya.ui.Widget_API3.0 [ 43%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

405. 如何使用及维护Github的LayaAir引擎源码(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 42%]

...最小版本等等。 重点介绍一下package.json 当前内置的三个脚本命令,分别为publishTool与generateDoc目录内的bat执行和引擎源码的编译。 之前我们知道了进入到目录内执行`XX.bat`的方法,通过package.json配置的shell命令入口,还可以在根...

来源: Laya2.0_文档 发布时间: 20210714

406. laya.d3.component.volume.Volume_API3.0 [ 42%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

407. laya.d3.component.hlod.HLOD_API3.0 [ 42%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya...

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

408. Box2D使用Destory join报错? [ 42%]

...外还有一个问题就是,2.0正式版的2D官方demo,在游戏控制脚本(即GameControl)未被激活的情况下,执行了onEnable和onStart里面的内容,onUpdate是正常没执行的。换成2.0测试版(即beta4)的库后是正常的。怀疑是2.0正式版的库存在问题...

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

409. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 42%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from CannonPhysicsTriggerComponent.canScaleShape Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node I...

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

410. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 41%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from CannonPhysicsTriggerComponent.canScaleShape Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node I...

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