Enum ConnectionType
ConnectionType is the type of connection to use when creating a session.
Namespace: Unity.Multiplayer.Widgets
Assembly: Unity.Multiplayer.Widgets.Core.dll
Syntax
public enum ConnectionType
Fields
Name | Description |
---|---|
Direct | A direct connection that requires the IP address and port. Also requires either Netcode for GameObjects or Netcode for Entities. |
None | Session only, no netcode. |
Relay | A Relay connection via Unity Multiplayer Services. Requires either Netcode for GameObjects or Netcode for Entities. |
Unsupported | A hidden type that is used as a fallback. |