NetworkScriptsReference..::..InitalizeNetworkVariables Method
Initializes network variables for synchronization.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Parameters
- script
- Type: MonoBehaviour
The script containing the fields to be synchronized.
- synchronizedFields
- Type: array<String>[]()[][]
Array of field names to be synchronized.