docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Connect

    Connect(NetworkDriver)

    Connect to the Relay server.

    Declaration
    public static NetworkConnection Connect(this NetworkDriver driver)
    Parameters
    Type Name Description
    NetworkDriver driver
    Returns
    Type Description
    NetworkConnection

    The new NetworkConnection (or default if failed).

    Remarks

    This method can only be used when using the Relay service.

    In This Article
    Back to top
    Copyright © 2023 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)