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

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

121. 网络通信 · LayaAir3文档 · LAYABOX [ 44%]

...览器实施了一个同源安全策略,并且要求这个 URL 与包含脚本的文本具有相同的主机名和端口。 * @param data (default = null)发送的数据。 * @param method (default = "get")用于请求的 HTTP 方法。包括 "get"、"post"、"head"。 * @param responseType (de...

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

122. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

... (图3-2) 在图2-21的surface节点上创建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标...

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

123. laya.physics.joint.PulleyJoint_API3.0 [ 42%]

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

124. laya.physics.joint.DistanceJoint_API3.0 [ 41%]

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

125. laya.physics.joint.WeldJoint_API3.0 [ 41%]

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

126. laya.physics.joint.JointBase_API3.0 [ 41%]

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

127. laya.d3.core.MeshFilter_API3.0 [ 41%]

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

128. laya.d3.component.LODGroup_API3.0 [ 41%]

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

129. laya.physics.joint.PrismaticJoint_API3.0 [ 40%]

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

130. laya.components.Script_API3.0 [ 39%]

...Globals "laya/components/Script" Script Class Script Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 Hierarchy Component Script Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id Met...

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