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

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

11. 关于laya无法缓存非图片、声音文件bug [ 79%]

...         if (fileObj == null)                 return null;             else                 return fileObj;             return null;         }   附件 : --> 2020-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

12. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 74%]

... function get Instance():Socketmanger { if(_I==null)_I=new Socketmanger(); return _I; } private static var socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClos...

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

13. 关于LayaBox启动的问题。 [ 65%]

...f', true, null)); } if (!data) { alert('>>>download ttf error '); return; } fs_writeFileSync(sTempFontPath, data); conch.initFreeTypeDefaultFontFromFile(sTempFontPath); } } ----------------------------------------------------- 个人认为这样是十分差的用户体验。 正常的流程...

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

14. 发布时勾选压缩js后,gulp uglify生成的sourcemap在哪里 [ 64%]

...", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) .on('error', functi...

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