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

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

411. laya.d3.core.trail.TrailRenderer_API3.0 [ 45%]

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

412. [LayaAir3]3.10.0 box2d wasm版本 trigger事件无法触发 [ 45%]

... 2024-01-03 0 0 分享 微博 QZONE 微信 layaAir小孟 赞同来自: 您脚本中的onTriggerEnter,是开始碰撞时执行。而您demo中的两个image都是运动学物体,是不会发生碰撞的,所以wasm版本是正确的。 如果将您demo中的物理库换成js版本,会触发onT...

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

413. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 45%]

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

414. Laya.loader.create中的progress回调好像不准确? [ 45%]

...u • 2018-03-21 11:28 @Monica, 整个Demo太大了,有几十兆,我把脚本的代码贴出来,能帮忙看看吗? (LayaScene_yueren.ls是从unity导出的,里边的模型和材质加起来大概四十多个文件吧) var debug = true; var LayaAir3D = (function () { function LayaAir3D...

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

415. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 44%]

...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...

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

416. LayaAir下分离模式的使用 [ 44%]

...数,但是好像这个文件的所有代码都不执行, 我把这个脚本删了也能正常导出 2018-05-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cuixueying 相关问题 微信关系链:LayaAir引擎针对微信小游...

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

417. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 44%]

...文件就能实现linux下的一键编译了。 于是,我又写了两个脚本,都放在工程目录下就好:   1> compile.sh(供idea使用,调用wine执行编译,并调用python脚本处理js文件,最后打开chrome浏览器)#!/bin/bash path=`pwd` cmd="/.actionScriptProperties;if...

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

418. 获取位置信息 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...ximumAge }); } 在LayaAir IDE中,给Scene2D添加一个自定义的组件脚本,添加如下代码,实现鼠标点击后,获取地理位置。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event...

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

419. 如何通过命令行工具构建和发布项目 [ 43%]

...来自: 告诉你个简单的方法。其实ide里操作。也是执行js脚本的。  layaair-cmd这个东西就是从ide里剥离出来的 你去ide路径里找到对应的方法就行了 2018-08-14 0 1 分享 微博 QZONE 微信 Аη 赞同来自: 熊猫大侠 、babykylin 我觉得你是要的...

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

420. laya.d3.core.ui3d.UI3D_API3.0 [ 43%]

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