Next: , Previous: , Up: Network   [Contents][Index]


13.4 Photon Field Sync

Component: PhotonFieldSync

Photon Field Sync allows you to synchronize any script field over the network. It must be observed by a Photon View. To use it, target the component you wish to sync, then, type in the name of the field you wish to serialize over Photon. In general, if a field is named ’My Field’ in the Inspector, then it’s correct name will be ’myField’ in code, because Unity automatically reformats field names, capitalizing the first letter, and adding a space before each capital letter.