# protobufferUnity **Repository Path**: liyonghelpme/protobufferUnity ## Basic Information - **Project Name**: protobufferUnity - **Description**: protobuffer for unity 自动生成 协议 unity 可以使用的库 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 28 - **Forks**: 31 - **Created**: 2015-03-17 - **Last Updated**: 2023-12-23 ## Categories & Tags **Categories**: utils **Tags**: None ## README #protobufferUnity 1:src 目录是 protobuffer csharp port 修改后的代码, 用于ios 上面使用 2:Google.ProtocolBuffersLite.dll 是编译的ios 上可用的 dll 3:build.bat 是编译生成 协议dll 的脚本 4:cs 目录下面是 根据protos 目录 中协议 生成的cs 协议代码 cs 目录的 AssemblyInfo.cs UpdateSln.py protoDll.csproj new.csproj 是一个 cs 工程,执行 UpdateSln.py 之后 编译 new.csproj 可以生成协议的dll 文件, 需要mono 环境的支持,只在 mac上面测试过 5:windows 下需要安装 mono 4.2 最高版本 将Mono安装路径bin目录加入到环境变量 Path中 安装gitbash 在gitbash中执行 python build.py 这两个文件是符号链接: protoc2.exe 替换掉 protoc.exe src/ProtoGen/bin/Debug/ProtoGen.exe 替换掉目录里面的 ProtoGen.exe