docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkStreamProtocol

    The message types sent by NetCode.

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public enum NetworkStreamProtocol

    Fields

    Name Description
    Command

    A packet that contains an input command. Sent always from client to server.

    Rpc

    A message that contains a single RPC. Can be sent by both client and server

    Snapshot

    The simulation snapshot. Sent from server to client

    In This Article
    Back to top
    Copyright © 2025 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)