大约有 107 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0040 秒)
...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
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Comp...
来源: Laya3.0_api 发布时间: 20231115
...这个报错是堆栈溢出了,看了一下你的demo发现你的runtime脚本关联错了,应该挂载到场景上,不应该挂到子节点上 2020-11-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 159*****576 相关问题 真...
来源: Laya_社区 发布时间: 20201110
...用了c#的扩展方法,并不影响工具运行。 你可以随便建个脚本测试下: Texture2D tx = new Texture2D(100,100); tx.EncodeToPNG(); 183*****755 • 2017-09-27 12:49 unity2017以后的版本,由于unity中API结构调整,导入插件时必须更新API(I Made a Backup. Go Ahea...
来源: Laya_社区 发布时间: 20170428
...class Script3DInheritanceScript3D Component Object Script3D 类用于创建脚本的父类,该类为抽象类,不允许实例。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Compon...
来源: Laya2.0_api 发布时间: 20190513
...中,新建一个2D空项目,在Scene2D下新建一个自定义的组件脚本,并添加如下代码: onAwake(): void { //侦听自定义的事件"Click" this.owner.on("Click",this,()=>{ console.log("侦听到自定义的“Click”事件"); }) } //鼠标点击后执行,发送Click事件...
来源: Laya3.0_文档 发布时间: 20251010