com.onlineobject.objectnet Namespace

NetworkElement Constructor (INetworkContainer, MonoBehaviour, Int32)

Initializes a new instance of the NetworkElement class with a MonoBehaviour.

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

Syntax


public NetworkElement(

	INetworkContainer container,

	MonoBehaviour linkedObject,

	int networkId

)

Parameters

container
Type: com.onlineobject.objectnet..::..INetworkContainer
The network container associated with this element.
linkedObject
Type: MonoBehaviour
The MonoBehaviour linked to this network element.
networkId
Type: Int32
The network identifier for this element (default is 0).