com.onlineobject.objectnet Namespace

NetworkElementBase Constructor (INetworkContainer, MonoBehaviour, Int32)

Constructor for creating a network element with a specified container, linked MonoBehaviour, and network ID.

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

Syntax


public NetworkElementBase(

	INetworkContainer container,

	MonoBehaviour linkedObject,

	int networkId

)

Parameters

container
Type: com.onlineobject.objectnet..::..INetworkContainer
The container that will hold this network element.
linkedObject
Type: MonoBehaviour
The MonoBehaviour linked to this network element.
networkId
Type: Int32
The unique identifier for this network element.