Calling Serializers manually
Options
Photon has a very good serialization system in place. I have another use case where i'd like to turn my C# objects into a Byte[], is there any way for me to hook into the system and pass in a custom object, and get a byte array back?
This could be for a save system for example, but i'd also like to use it to find out differences between objects, and sync these over the network.
This could be for a save system for example, but i'd also like to use it to find out differences between objects, and sync these over the network.
0
Comments
-
I've found Protocol.Serialize, but that has an Obsolete attribute. Is there a more performant alternative?0