大约有 471 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0042 秒)
...什么ani动画执行的不是按中心点执行的 怎样跨页面执行脚本命令? hit事件执行效率探讨 MOUSE_OVER注册的响应函数,如果鼠标一直在动,多久会执行一次,一帧吗?和frameLoop一样? Laya.loader.create 进度回调函数执行两次 重发问题: ...
来源: Laya_社区 发布时间: 20190510
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/GearJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false joint1 joint1: any Defined in laya/physic...
来源: Laya3.0_api 发布时间: 20231115
...行下载与更新: 2D入门示例:此模板中包含综合UI示例,脚本的进阶使用方法,以及物理游戏Demo,2D与3D混合应用的示例。 3D入门示例:此模板中包含引擎中常用3D功能在IDE中的使用方法,新手开发者可以此为学习参考。 3D—RPG示...
来源: Laya3.0_文档 发布时间: 20251010
...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 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默认为false otherAnchor otherAnchor: any[] = [0, 0]...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/WeldJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 collideConnected collideConnected: boolean = f...
来源: Laya3.0_api 发布时间: 20231115
...过设置maxDetlaTime来改变引擎的默认值。 几种方式, 1、在脚本的onUpdate里设置,代码示例如下: onUpdate(): void { this.spineAni.maxDetlaTime = Laya.timer.delta / 1000 * Laya.timer.scale; } 这种方式准确,但不建议。 2、直接设置...
来源: Laya_社区 发布时间: 20241217
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,如果不设置,则根据鼠标点击点作为连...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defin...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/components/Co...
来源: Laya3.0_api 发布时间: 20231102