Unity3D中使用protobuf的方法:
1、下载protbuf-net的源码:
https://github.com/mgravell/protobuf-net/tree/master/protobuf-net
或者:http://protobuf-net.googlecode.com/svn/trunk/protobuf-net
2、将该目录中的所有C#源码拷贝到Unity3D中,直接使用源码而不是第三方dll。使用dll会在ios平台出问题;
Unity3D中使用protobuf的方法:
1、下载protbuf-net的源码:
https://github.com/mgravell/protobuf-net/tree/master/protobuf-net
或者:http://protobuf-net.googlecode.com/svn/trunk/protobuf-net
2、将该目录中的所有C#源码拷贝到Unity3D中,直接使用源码而不是第三方dll。使用dll会在ios平台出问题;