com.onlineobject.objectnet Namespace

NetworkScriptsReference..::..InitalizeNetworkVariables Method

Initializes network variables for synchronization.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void InitalizeNetworkVariables(

	MonoBehaviour script,

	string[] synchronizedFields

)

Parameters

script
Type: MonoBehaviour
The script containing the fields to be synchronized.
synchronizedFields
Type: array<String>[]()[][]
Array of field names to be synchronized.