docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Close

    Close(NetworkDriver)

    Disconnects a connection and marks it for deletion. The connection will be removed on the next frame. Same as Disconnect<T>.

    Declaration
    public int Close(NetworkDriver driver)
    Parameters
    Type Name Description
    NetworkDriver driver

    Driver to which the connection belongs.

    Returns
    Type Description
    int

    An Error.StatusCode value (0 on success, -1 otherwise).

    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)