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

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

51. protobuffer加载失败 [ 81%]

... )加载 .proto 文件失败:     Laya.loader.load(["res/protobuf/user.proto"], Handler.create(this, onAssetsLoaded)); 错误提示如下: [warn]Retry to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.proto [error]Failed to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.pr...

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

52. 关于protobuf反序化的问题,求大神解答~~~ [ 81%]

...o文件里的,另外还要发送其他的 比如这个message: message user_login_pack  { required string uid = 1; required string token = 2; } js的代码: var proto = this.ProtoBuf.loadProtoFile("user_login.proto"); var Build = proto.build("user_login_pack"); var login = new Build(); login....

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

53. 发布项目“是否压缩混淆js(耗时)”的bug [ 80%]

...cted punc «;»     at JS_Parse_Error.get (eval at <anonymous> (C:\Users\fp005\AppData\Roaming\n pm\node_modules\uglify-js\tools\node.js:21:1), <anonymous>:75:23)     at fatal (C:\Users\fp005\AppData\Roaming\npm\node_modules\uglify-js\bin\ugli fyjs:289:53)     at run (C:\Users\fp00...

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

54. 1.01unity转换工具,dds贴图转不了 [ 80%]

...不了 Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (...

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

55. mac上的chrome解决跨域问题(打不开本地文件请求) [ 80%]

...pen -n /Applications/Google\ Chrome.app/ --args --disable-web-security  --user-data-dir=/Users/yourname/MyChromeDevUserData/ 注意: Mac下可使用命令行打开chrome,记住先关闭当前chrome窗口。 网上有些文章--user-data-dir参数后面没有添加文件夹名,是设置不成...

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

56. 正常运行的2.1项目 迁移项目到Laya2.2.0出现 循环依赖的错误,请教各位大佬 [ 79%]

...信 177*****182 赞同来自: 同问 Circular dependency: ..\..\..\..\..\Users\Administrator\Personal\myLaya\Client\src\Main.ts -> ..\..\..\..\..\Users\Administrator\Personal\myLaya\Client\src\tools\CFunc.ts -> ..\..\..\..\..\Users\Administrator\Personal\myLaya\Client\src\Main.ts 2019-07-30 0 ...

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

57. 在layabox里protobuf只能用回调的方式处理吗? [ 79%]

...用的是: import ProtoBuf = dcodeIO.ProtoBuf; this._protoBuilderMap ={user:ProtoBuf.loadProto(RES.getRes('user_proto'))}; 然后打包数据这样使用就可以了: let head: string = name.substring(0, name.indexOf('.')); let Message = this._protoBuilderMap[head].build(name); let message: Prot...

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

58. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 79%]

...llections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorC...

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

59. 在Unity中无法导出模型动作 [ 79%]

...ictionary`2[System.String,System.String].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) q.a (UnityEngine.GameObject A_0, .i A_1, Boolean A_2) q.a (UnityEngine.GameObject A_0, .i A_1, System.Collections.Generic.Li...

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

60. 问下关于websocket的问题 [ 79%]

...程序,为啥用node运行的时候弹出" Cannot find module 'ws'"? C:\Users\Administrator\Desktop>node jjj.js module.js:472 throw err; ^ Error: Cannot find module 'ws' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module....

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