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

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

51. laya.physics.EdgeCollider_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

52. laya.d3.core.light.Light_API3.0 [ 51%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEdi...

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

53. laya.physics.joint.PrismaticJoint_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya...

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

54. laya.physics.BoxCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

55. laya.physics.PolygonCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

56. laya.d3.physics.PhysicsComponent_API3.0 [ 50%]

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

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

57. laya.physics.ChainCollider_API3.0 [ 50%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/physics/ColliderBa...

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

58. 事件管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

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

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

59. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 49%]

...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

60. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 49%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Defined in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接的两个物体是否进行碰撞检测 owner owner...

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