NetworkElementBase Constructor (INetworkContainer, GameObject, BehaviorMode, Int32)
Constructor for creating a network element with a specified container, linked GameObject, behavior mode, and network ID.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public NetworkElementBase( INetworkContainer container, GameObject linkedObject, BehaviorMode mode, 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.
- mode
- Type: com.onlineobject.objectnet..::..BehaviorMode
The behavior mode for this network element.
- networkId
- Type: Int32
The unique identifier for this network element.