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

大约有 1,246 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)

261. LAYA2.0 无法编译 什么鬼问题? [ 77%]

...nk\myLaya\.laya\compile.js [17:46:10] Starting 'compile'...  出错了:  TypeScript error: node_modules/@types/node/index.d.ts(54,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 附件 : --> 2019-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

262. laya.d3.component.LODInfo_API3.0 [ 77%]

...ddNode removeAllRender removeNode tempVec tempVec1 Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface

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

263. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 77%]

...as a separate module (similar to 'ts.transpileModule'). */     /* Strict Type-Checking Options */     "strict": true,                           /* Enable all strict type-checking options. */     // "noImplicitAny": true,                 /* Raise error on expressions and ...

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

264. 在laya中如何使用node.js呢? [ 77%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. Laya mac版的IDE 是没测试就上线了吗? 成都雨墨游戏 求 laya 程序开发人员 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 关于Laya实...

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

265. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 77%]

...bleStaticInstanceBatchRender enabled hideFlags id importance probePosition type Methods _initialize _motionInVolume _reCaculateBoundBox _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onUpdate reBatch Constructors constructor n...

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

266. 如何能够clone一个node(包括node所有的子节点, 以及所有节点上的compnent,属性) [ 76%]

...就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 10000; Laya.stage.addChild(o); })); 但是如...

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

267. 新建Laya2D空项目(TS),编译出错! [ 76%]

...op\Laya\Test5\.laya\compile.js [15:32:44] Starting 'compile'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(37,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found.   ----我是分割线--------------------------------------------------------- 然...

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

268. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 75%]

...l enabled hideFlags id importance irradianceTexel normalBias probePosition type viewBias Methods _VolumeChange _addRenderNode _cloneTo _initialize _motionInVolume _onDestroy _reCaculateBoundBox _removeRenderNode _setOwner applyVolumetricGI destroy hasHideFlag onAdded onAwake onDestroy onDisable onEn...

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

269. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 75%]

...or Properties _extra _singleton canScaleShape owner runInEditor scriptPath TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDamping angularVelocity awaked btColliderObject canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id isKinematic isSleeping isTrigger lin...

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

270. 微信小游戏加载资源问题 [ 75%]

...8", callBack = null, readyUrl = "", isSaveFile = false, fileType = "") { var fileUrl; if (readyUrl != "" && MiniFileMgr.isHttpPath(readyUrl)) { fileUrl = MiniFileMgr.getFileNativePath(filePath); } else { fileUrl = filePath; } fileUrl = Laya.URL.getAdptedFil...

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