docs.unity.cn
    Show / Hide Table of Contents

    Enum NetworkEvent.Type

    The different types of events that can be returned for a connection.

    Namespace: Unity.Networking.Transport
    Syntax
    public enum Type : short

    Fields

    Name Description Value
    Connect

    The connection is now established.

    Data

    Data was received on the connection.

    Disconnect

    The connection is now closed.

    Empty

    No event actually occured. Should be ignored.

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