docs.unity.cn
    Show / Hide Table of Contents

    Enum DisconnectReason

    Namespace: Unity.Networking.Transport.Error
    Syntax
    public enum DisconnectReason : byte

    Fields

    Name Description Value
    ClosedByRemote
    Count

    Used internally to track the number of reasons. Keep last.

    Default
    MaxConnectionAttempts

    Indicates the connection failed to establish after too many failed attempts (see maxConnectAttempts).

    Timeout
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use