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

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

101. 3d物理引擎有碰撞不触发onCollisionEnter [ 49%]

...现碰撞检测误判的情况,你可以接着反馈这个问题。 2在脚本中销毁精灵的异常,你可以参考下图所示,进行一下保护:   2020-05-07 0 1 分享 微博 QZONE 微信 1585798773用户 赞同来自: 在没有ccd检测的情况下依旧出现碰撞检测误判的...

来源: Laya_社区 发布时间: 20200426

102. laya.net.HttpRequest [ 48%]

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

来源: laya_api 发布时间: 20170929

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

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

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

104. laya.components.Component_API3.0 [ 43%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Option...

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

105. laya.d3.component.volume.Volume_API3.0 [ 42%]

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

106. laya.components.Script_API3.0 [ 41%]

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

107. laya.components.Script [ 41%]

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

108. laya.physics.joint.JointBase_API3.0 [ 40%]

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

109. laya.d3.core.MeshFilter_API3.0 [ 39%]

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

110. laya.d3.component.LODGroup_API3.0 [ 39%]

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