大约有 440 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
...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
...。 实现AOP介入控制Laya游戏暂停和单步运行的代码// 注入脚本的代码 export default function () { // 检测是否包含Laya变量 var isLayaGame = true; try { var layaGame = Laya; } catch (e) { isLayaGame = false; } if (isLayaGame) { // laya 暂停状态 window.layaStatePause = ...
来源: Laya_社区 发布时间: 20200925
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Comp...
来源: Laya3.0_api 发布时间: 20231115
... iOS项目构建完成后,项目目录下的 resource/scripts/index.js 脚本的最后有个执行loadUrl的函数,这里会加载首页地址,修改这里的地址就能切换单机版和网络版,单机版的地址固定为 http://stand.alone.version/index.js。 例如,一开始是网络...
来源: Laya3.0_文档 发布时间: 20250104
...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
...设置 cacheAs 为非空和非"none"时才有效。由于渲染的时机在脚本执行之后,也就是说当前帧渲染的是对象的最终属性,所以如果在当前帧渲染之前、设置静态缓存之后改变对象属性,则最终渲染结果表现的是对象的最终属性。不知...
来源: Laya_社区 发布时间: 20171120
...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 是否单例,即同一个节点只能添加此类型的脚本一次 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 是否单例,即同一个节点只能添加此类型的脚本一次 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
... 2024-01-03 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来自: 您脚本中的onTriggerEnter,是开始碰撞时执行。而您demo中的两个image都是运动学物体,是不会发生碰撞的,所以wasm版本是正确的。 如果将您demo中的物理库换成js版本,会触发onT...
来源: Laya_社区 发布时间: 20231228