I want to serialize an object to a byte array in order to send it over the Network.
I’m looking for a code sample, but none of the samples I could find actually compiled Probably has to do with the “using” but none of that is documented anywhere I looked.
Also, since Unity has its own serialization system that it uses for the inspector, I was wondering if there was any way to use Unity’s built-in serialization. Couldn’t find any doc on that either.
Thanks