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

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

81. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 43%]

...是否包含Laya变量 var isLayaGame = true; try { var layaGame = Laya; } catch (e) { isLayaGame = false; } if (isLayaGame) { // laya 暂停状态 window.layaStatePause = false; // laya 需要单步次数 window.layaStepCount = 0; let rawRequestAnimationFrame = window.requestAnimationFrame; let ren...

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

82. layaMaxUI.js export ui bug (影响编译) [ 43%]

...ources\app\node_modules\rollup\dist\rollup.js:13566:33) at Promise.resolve.catch.then.then.then (D:\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:16352:20) at <anonymous> 编译异常,请检查代码后重试... 以上是layaMaxUI.js export ui bug 在layaMaxUI.js中 由 if(!win...

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

83. 如何使用vscode编译laya项目 [ 36%]

...'/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });五、完成以上步骤配置,即可脱离layaIDE而使用vscode编译项目了^_^ D:\workspace\layabox\node-v7.9.0-win-x64\node.exe --inspect-brk=48982 ..\LayaAirIDE_beta\resources\...

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

84. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 36%]

...事件 this.btn_register.on(Laya.Event.CLICK, this, this._onRegister); } catch(e) { console.log(e); } } /** * 点击注册 */ private async _onRegister() { // console.table(this._arrCheck); } /** * 检查注册自信是否正确 */ private _checkRegInfo(): boolean { // TODO 还没有写检查!!!!! i...

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

85. Layabox web 复制一段文字到剪贴板 [ 33%]

...t msg: string = isAlertMsgInfo;             re = true;         } catch (e) {             console.error("Current equipment support Copy!");         }         return re;     } 2018-12-14 0 2 分享 微博 QZONE 微信 熊猫大侠 赞同来自: inputDiv = Browser.document.cre...

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

86. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 33%]

...'/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });打开.vscode/launch.json可知道使用的是Debugger for Chrome插件来调试 { "version": "0.2.0", "configurations": [ { "name": "chrome调试", "type": "chrome", "request": "launch...

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

87. TS项目中怎么使用promise [ 31%]

...esult2>) | undefined | null): Promise<TResult1 | TResult2>;     catch<TResult>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>; } interface PromiseConstructor {     readonly prototype: Promise<any>;   ...

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

88. 微信小游戏提审后,提示说代码侵权 [ 26%]

...-1) continue; if(arr2[i].indexOf("//") !=-1) continue; if(arr2[i].indexOf("catch(") !=-1) continue; if(arr2[i].indexOf(",") !=-1 && arr2[i].indexOf("(") ==-1) continue;//object里面的key value if(arr2[i].indexOf("public ") !=-1 && arr2[i].indexOf("{") ==-1) continue;//属性 if(arr...

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

89. LAYABOX游戏实时语音之APP版本 [ 24%]

...d", message.getSenderID()); objCallBack.put("AudioTime", audioDuration); } catch (JSONException e) { e.printStackTrace(); } //这句就是执行LAYABOX里的我们写的JS方法(ExportJavaFunction.CallBackToJS这玩意在这好像没法用了,没有对像给他指定了,暂时没想到其他...

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

90. 安装layaair2-cmd一直失败 [ 22%]

...aair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: &...

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