docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)