NetworkElementBase Constructor (INetworkContainer, GameObject, Int32)
Constructor for creating a network element with a specified container, linked GameObject, and network ID.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public NetworkElementBase( INetworkContainer container, GameObject linkedObject, int networkId )
Parameters
- container
- Type: com.onlineobject.objectnet..::..INetworkContainer
The container that will hold this network element.
- linkedObject
- Type: GameObject
The GameObject linked to this network element.
- networkId
- Type: Int32
The unique identifier for this network element.