大约有 494 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
laya 中使用websocket , protobuff 加载.proto 文件 ,加载后是明文 protobuff 具体 在 laya 中是怎么个使用方法 ,基础的 我知道, .proto 需要转化 成 js 库 中 使用么 ? 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180305
如何在laya中直接使用proto中定义的enum? 如何在laya中直接使用proto中定义的enum? type.proto enum e_server_msg_type { e_mst_start_c2g = 300; e_mst_c2g_heartbeat = 301; //心跳协议 e_mst_c2g_select_gate = 302; //选择网关 e_mst_start_g2c = 400; e_mst_g2c_select_gate_res...
来源: Laya_社区 发布时间: 20170911
LayaAirProToBuf-AS3版本里面的demo里面提供的两个proto文件是可以的,但是没有工具把自定义的proto文件转为as文件,转出来的文件都是flash版本的,不能用。 您好,看到您提问的关于LayaAirProToBuf-AS3版本的问题,我想问下,您有好的...
来源: Laya_社区 发布时间: 20180404
.../laya/mytalkingtom_demo/bin/libs/laya.d3.js:17775:10) at EventHandler.__proto.runWith (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:1410:41) at Loader.__proto.event (file:///E:/svn/210/h5engine/trunk/laya/mytalkingtom_demo/bin/libs/laya.core.js:1166:28) at ...
来源: Laya_社区 发布时间: 20190320
...an't read data from VertexBuffer with only write flag! at VertexBuffer3D.__proto.getData (laya.d3.js:29868) at RenderElement.__proto.getDynamicBatchBakedVertexs (laya.d3.js:3746) at DynamicBatch.__proto._getRenderElement (laya.d3.js:4506) at DynamicBatch.__proto._addToRenderQueue (laya.d3.js:4586) a...
来源: Laya_社区 发布时间: 20170804
protobuffer加载失败 使用如下代码(资源地址使用中括号 )加载 .proto 文件失败: Laya.loader.load(["res/protobuf/user.proto"], Handler.create(this, onAssetsLoaded)); 错误提示如下: [warn]Retry to load: E:/LayaBox/ProtobufLoadTest/bin/res/protobuf/user.proto [e...
来源: Laya_社区 发布时间: 20161223
... read property 'setLocalScaling' of undefined at MeshColliderShape.__proto._setScale (laya.d3.js:23983) at PhysicsCollider.__proto._onScaleChange (laya.d3.js:21429) at PhysicsCollider.__proto._innerDerivePhysicsTransformation (laya.d3.js:21500) at PhysicsCollider.__proto._der...
来源: Laya_社区 发布时间: 20190418
...= new Laya.Socket(); //用的子协议,字符串或数组 // this.socket.protocols = egret.WebSocket.TYPE_BINARY; this.socket.on(Laya.Event.OPEN, this, this.onConnect); this.socket.on(Laya.Event.CLOSE, this, this.onClose); this.socket.on(Laya.Event.ERROR, this, this.onIOError); this.socket.on(Laya...
来源: Laya_社区 发布时间: 20180119
...nown file(res/scene/scene.ls) extension with: ls. at LoaderManager.__proto._create (laya.core.js:13205) at LoaderManager.__proto.create (laya.core.js:13173) at LayaGame.<anonymous> (LayaGame.ts:60) at EventHandler.__proto.runWith (laya.core.js:724) at ResInfo.__pr...
来源: Laya_社区 发布时间: 20190129
请问laya怎么打包和解析proto buffer 我的项目需要连接服务器,看过官方的技术文档已经可以和服务器连接上了,可是传输数据还需要使用proto buffer对数据进行打包和解析,可是在官网没有找到,请问有人知道么,或者给个地址或指点一...
来源: Laya_社区 发布时间: 20180605