Protobuf-net and Unity3D types
问题 I have question about protobuf-net in Unity3d. Is it possible to serialize unity3d types: GameObject. Example, I have in class property with type GameObject, this class serializedd/deserialized? using ProtoBuf; using UnityEngine; ... [ProtoContract] public class Example { [ProtoMember(1)] public int Count {get;set;} [ProtoMember(2)] public string Name {get;set;} [ProtoMember(3)] public GameObject MyGameObject {get;set;} // ??? } Sorry, my english.. 回答1: You have to tell protobuf-net which