Enum NetworkConnection.State | Unity Transport | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Enum NetworkConnection.State

    ConnectionState enumerates available connection states a connection can have.

    Namespace: Unity.Networking.Transport
    Syntax
    public enum State

    Fields

    Name Description Value
    Disconnected

    Indicates the connection is disconnected

    0
    Connecting

    Indicates the connection is trying to connect.

    1
    AwaitingResponse

    Indicates the connection is waiting for a connection response.

    2
    Connected

    Indicates the connection is connected..

    3
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021