NetworkElement Constructor (INetworkContainer, GameObject, Int32)
Initializes a new instance of the NetworkElement class with a GameObject.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public NetworkElement( INetworkContainer container, GameObject linkedObject, int networkId )
Parameters
- container
- Type: com.onlineobject.objectnet..::..INetworkContainer
The network container associated with this element.
- linkedObject
- Type: GameObject
The GameObject linked to this network element.
- networkId
- Type: Int32
The network identifier for this element (default is 0).