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

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

1. Typescript tsconfig baseurl 编译报错 [ 100%]

...ss\src' at E:\developer\LayaAirIDE_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:46:17 at process (E:\developer\LayaAirIDE_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:173:43) at ondir (E:\developer\LayaAirIDE_beta\resources\ap...

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

2. 报错:error TS5007: Cannot resolve referenced file: error TS5023: Unknown option 'p' Use the ' [ 96%]

报错:error TS5007: Cannot resolve referenced file: error TS5023: Unknown option 'p' Use the ' error TS5007: Cannot resolve referenced file: '.'. error TS5023: Unknown option 'p' Use the '--help' flag to see options. error TS5007: Cannot resolve referenced file: '.'. error TS5023: Unknown option...

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

3. laya2.0引入第三方库失败 [ 95%]

...ript' at D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\Program Files\LayaAirIDE2.0\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\Program Files\LayaAirIDE2.0\resources\app...

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

4. laya2.0里bundle.js删除之后为什么不会重新生成了,改原来的代码又不生效 [ 95%]

...rc\gameParts' at D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21 at load (D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43) at onex (D:\LayaAirIDE_200_beta\resources\app\node_modules\br...

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

5. 针对2.0.0 beta5 setLoadingPage 做增强 [ 89%]

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

6. 提示LAYA核心库中找不到 Laya.__awaiter函数 [ 87%]

...Arg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(resul...

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

7. Laya2.6.0 升级至Laya2.8.0 Native环境 加载ttf 字体不生效 [ 85%]

...   代码如下:           let font1Req =  new Promise((resolve => {             Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => {                 if (!success) {                 ...

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

8. Laya.SoundManager.playSound()问题,任务不是当前标签停止播放,当任务回到当前标签页,不能恢复播放 [ 77%]

...oops?: number, soundClass?: any, startTime?: number) { return new Promise((resolve, reject) => { let soundChannel: Laya.SoundChannel = Laya.SoundManager.playSound(url, loops, Laya.Handler.create(this, () => { resolve(soundChannel); }), soundClass, startTime); }); } 我使用Promise封装了一...

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

9. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 68%]

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

10. 苹果上架有问题啊 , !!!!!! [ 65%]

... this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Software Requirements section of the App Store Review Guidelines. - Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of th...

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