protobuf-net is a contract based serializer for .NET code, that happens to write data in the "protocol buffers" serialization format engineered by Google. The API, however, is very different to Google's, and follows typical .NET patterns (it is broadly comparable, in usage, to XmlSerializer, DataContractSerializer, etc). It should work for most .NET languages that write standard types and can use attributes.
该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。
直接在 manifest.json 文件中添加以下内容
{"com.gameframex.unity.google.protobuf": "https://github.com/gameframex/com.gameframex.unity.google.protobuf.git"}
在Unity 的Packages Manager 中使用Git URL 的方式添加库,地址为:https://github.com/gameframex/com.gameframex.unity.google.protobuf.git
直接下载仓库放置到Unity 项目的Packages 目录下。会自动加载识别
Packages 的支持