大约有 115 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...ublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是...
来源: Laya2.0_api 发布时间: 20190513
...Fred 赞同来自: 无雨之地 您好,这个问题是由于您在Main.ts脚本的构造函数内调用Scene.open方法;在IDE切换到GameEntry.ls时,会解析并初始化GameEntry场景内的组件,包括脚本组件也会进行初始化,会调用脚本的构造函数,这时候就会...
来源: Laya_社区 发布时间: 20230207
...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 是否单例,即同一个节点只能添加此类型的脚本一次 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
...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
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/MotorJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherBody otherBody: RigidBody Defined i...
来源: Laya3.0_api 发布时间: 20231115
[LayaAir3]Laya.Scene.Open的param参数没有传入runtime脚本的onOpen 版本 3.3.0-beta4 附件 : --> 2025-06-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 layabox 赞同来自: 曾经有个beta的版本...
来源: Laya_社区 发布时间: 20250603
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/DistanceJoint.ts:20 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, ...
来源: Laya3.0_api 发布时间: 20231115
...ncaught Can not find scene:GameView.scene undefined Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 没有加载ls文件的情况下能否设置scene的颜色?还是只能黑色? Laya的Scene和View什么区别? laya2.0 GameConfig怎么更新有scene的脚本? ...
来源: Laya_社区 发布时间: 20200113
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/RevoluteJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean...
来源: Laya3.0_api 发布时间: 20231115