大约有 163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/GearJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默...
来源: Laya3.0_api 发布时间: 20231115
...ls { /** * <code>Timer</code> 是时钟管理类。它是一个单例,可以通过 Laya.timer 访问。 */ class Timer { private static _pool; /** 时针缩放。*/ scale: number; /** 当前时间。*/ currTimer: number; /** 当前的帧数。*/ currFrame: number; /** *两帧之间的...
来源: Laya_社区 发布时间: 20171109
...定时器定时器 定时器 Laya.Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 同时 Laya.Timer 表示游戏主时针,同时也是管理场景、动画、缓动等效果时钟,通过控制本时钟缩放可以达到快进慢播...
来源: Laya3.0_文档 发布时间: 20251010
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/PulleyJoint.ts:29 [首次设置有效]两个刚体是否可以发生碰撞,默...
来源: Laya3.0_api 发布时间: 20231115
...rty } = Laya; @regClass() export class Main extends Laya.Script { // 设置单例 static instance: Main; constructor() { super(); Main.instance = this; } @property({type:Laya.Sprite3D}) private target: Laya.Sprite3D; @property({type:Laya.UI3D}) private ui3d: Laya.UI3D; public animator: Laya.Animator...
来源: Laya3.0_文档 发布时间: 20251010
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/WeldJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置...
来源: Laya3.0_api 发布时间: 20231115
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] Defined in laya/physics/joint/MouseJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移,...
来源: Laya3.0_api 发布时间: 20231115
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 own...
来源: Laya3.0_api 发布时间: 20231115
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node Inherited...
来源: Laya3.0_api 发布时间: 20231102
...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean I...
来源: Laya3.0_api 发布时间: 20231115