On Photon Serialize View

Posted on by  admin
On Photon Serialize View
  1. Photon View

Photon View

You can also try this. Serialize custom object and send that serialization data (string/byte format) to other Photon clients. On receiving this serialization data, other clients can deserialize it and retrieve back original object. However, there is some limit on message size while sending over photon network. So its better to share lightweight data only.For serializing you can choose c# Binary formatter or else third party plugin from asset store. I would also recommend you to check out our plugin which can serialize c# objects as well as Unity objects like GameObjects, Transform, MonoBehaviours etc. Link download film indonesia. For complete list of supported types, please check this.

Comments are closed.