docs.unity3d.com
    Show / Hide Table of Contents

    Enum NetworkEvent

    Represents a netEvent when polling

    Namespace: Unity.Netcode
    Syntax
    public enum NetworkEvent

    Fields

    Name Description Value
    Data

    New data is received


    0
    Connect

    A client is connected, or client connected to server


    1
    Disconnect

    A client disconnected, or client disconnected from server


    2
    TransportFailure

    Transport has encountered an unrecoverable failure


    3
    Nothing

    No new event


    4
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023