docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkConnection.State

    Different states in which a NetworkConnection can be.

    Namespace: Unity.Networking.Transport
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public enum NetworkConnection.State

    Fields

    Name Description
    Connected

    Connection is open. Can send and receive data on it.

    Connecting

    Connection is in the process of being established. No data may be sent on it and the next event will be either Connect if the connection was successfully established, or Disconnect if it failed to reach the server.

    Disconnected

    Connection is closed. No data may be sent on it, and no further event will be received for the connection.

    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)