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

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

1. 针对2.0.0 beta5 setLoadingPage 做增强 [ 100%]

...ya.Scene.setLoadingPage(null) } _load(url, progress) { return new Promise((resolve, reject) => { Laya.Scene.load(url, Laya.Handler.create(this, function (scene) { // setLoadingPage为null 是为了避免引擎加载完场景自动关闭loadingPage Laya.Scene.setLoadingPage(null) resolve(scene) })...

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

2. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 76%]

...mersive-vr" | "immersive-ar" Returns Promise<boolean> A Promise that resolves to true if supported and false if not off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off D...

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

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

...// "baseUrl": "./",                       /* Base directory to resolve non-absolute module names. */     // "paths": {},                           /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */     // "rootDirs": [],    ...

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

4. Laya2.6、2.7等支持async、await编译经验分享 [ 75%]

...c() { await this.testWait10s() } async testWait10s() { return new Promise((resolve,reject)=>{ Laya.timer.once(10000,this,()=>{ console.log("10s后") resolve() }) }) }  如果有什么问题,欢迎大家一起来分享感恩。 附件 : --> regenerator.runtime_.zip 2020-07-05 添加评论 ...

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

5. Laya2.2.0如何变回ES5发布 [ 65%]

...和ES5之后会报编译异常 Error: Incompatible tsconfig option. Module resolves to 'CommonJS'. This is incompatible with rollup, please use 'module: "ES2015"' or 'module: "ESNext"'. 2019-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

6. 缓存工具-layadcc · LayaAir3.0文档 · LAYABOX [ 58%]

...lfile = cachePath+url.substring(url.lastIndexOf('/')); return new Promise((resolve,reject)=>{ downloadBigFile(url, localfile, (total, now, speed) => { console.log(`downloading:${Math.floor((now / total) * 100)}`) return false;0 }, (curlret, httpret) => { if (curlret != 0 || httpret < 200...

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

7. 关于LayaBox启动的问题。 [ 44%]

...lt; getaddrinfo runtime.layabox.com 80 0 2 1 0 0 I/SENTRY ( 5526): [DEBUG] Resolve success, Q = runtime.layabox.com, A = 110.53.75.44. I/GlobalPushManager( 4888): checkPollAndPopSend --> mSenderInfo = SenderInfo{mSendList_size = 0, mLock = java.lang.Object@371aea59, mLastTimeSender = 0} I/wpa_sup...

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

8. 构建apk后,java报错 [ 23%]

... AudioDirectOut, isBlocked = true 2018-11-26 18:35:10.221 1811-1811/? D/ImsResolver: maybeAddedImsService, packageName: com.layabox.dotJourney 2018-11-26 18:35:10.222 1505-2452/? D/CompatibilityInfo: mCompatibilityFlags - 14 2018-11-26 18:35:10.222 1505-2452/? D/CompatibilityInfo: applicationDensity...

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