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

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

1. js飞机大战报错 请大神看看 [ 100%]

...l=null;          this.infoLabel=null; GameInfo.js: var GameInfo = (function (_super) {     function GameInfo() {         GameInfo.super(this);         // this.infoLabel.text = "abc"; 这个也报异常应该是找不到infoLabel         // 注册按钮点击事件 点击后暂...

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

2. layaUI.max.all.js 这个文件怎么生成的? [ 78%]

...文件怎么生成的? STATICATTR$(TestPageUI,         ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我...

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

3. playSound和playMusic结束时候有异常抛出 [ 76%]

...mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceNode){ try {sourceNode.buffer=WebAudioSound._miniBuffer;}catch (e){WebAudioSoundChannel._tryCleanFailed=true;} } 求解,谢谢 2017-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

4. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 72%]

..._scene.lightCullingMask && this._scene.lightCullingMask instanceof Function){this._scene.lightCullingMask(scene,this);} 3、对想要开启灯光裁剪的场景调用 LightCullingMask.enableLightCullingMask(scene3d)即可 //注意 ExtCullingMask并不是针对对象进行,而是对摄相...

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

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

...true,              /* Enable strict null checks. */     // "strictFunctionTypes": true,           /* Enable strict checking of function types. */     // "strictPropertyInitialization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitTh...

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

6. 如何使用vscode编译laya项目 [ 51%]

...l.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function () { // 发布时调用编译功能,判断是否点击了编译选项 if (global.publish && !global.config.compile) { return; } else if (global.publish && global.config.compile) { // 发布时调用...

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

7. 构建apk后,java报错 [ 16%]

...t;>>>>>>>>className:layaair/game/browser/ExportJavaFunction,methodName:GetDeviceInfo 2018-11-26 18:31:47.964 4749-4838/com.layabox.dotJourney E/LayaBox: >>>>>>>>>>>>before 2018-11-26 18:31:47.975 4749-4838/com.layabox.dotJourney E/LayaBox...

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