docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Disconnect

    Disconnect(NetworkConnection)

    Disconnects a NetworkConnection

    Declaration
    public int Disconnect(NetworkConnection id)
    Parameters
    Type Name Description
    NetworkConnection id

    The NetworkConnection we want to Disconnect.

    Returns
    Type Description
    int

    Return 0 on success.

    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)