UnityTransport..::..GetPort Method
Retrieves the network port associated with the current instance.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
public ushort GetPort( TransportPortType type )
Parameters
- type
- Type: com.onlineobject.objectnet..::..TransportPortType
The type of transport port to retrieve (default is Both).