Enum ConnectionMode
ConnectionMode is used to differentiate between a local (Listen) or public (Publish) connection when direct connection as the ConnectionType is used.
Namespace: Unity.Multiplayer.Widgets
Assembly: Unity.Multiplayer.Widgets.Core.dll
Syntax
public enum ConnectionMode
Fields
Name | Description |
---|---|
Listen | Local connection. This is helpful for testing on the same machine or a local network. ListenIp and PublishIp are the same. They default to "127.0.0.1". |
Publish | Specify the listenIp and publishIp. To listen on all interfaces, use 0.0.0.0 as the listenIp and specify the external/public IP address that clients should sue as the publishIp. |