Laya2.0 集成 Protobuf

安裝node.js以及nmp、protobufjs 按照安裝路徑找到dist文件  複製到項目所在目錄 並在該目錄 cmd pb-egret add 生成protofile文件夾 在執行 pb-egret add 之後,bin下會生成protobuf文件夾,將 .proto 文件放到它下面,然後執行第2步。 .proto 手動寫一個就行 參照 protobuffer語法 例如: Package e
相關文章
相關標籤/搜索