Class Channels | Multiplayer HLAPI | 1.0.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class Channels

    Class containing constants for default network channels.

    Inheritance
    Object
    Channels
    Namespace: UnityEngine.Networking
    Syntax
    [Obsolete("The high level API classes are deprecated and will be removed in the future.")]
    public class Channels

    Fields

    DefaultReliable

    The id of the default reliable channel used by the UNet HLAPI, This channel is used for state updates and spawning.

    Declaration
    public const int DefaultReliable = 0
    Field Value
    Type Description
    Int32

    DefaultUnreliable

    The id of the default unreliable channel used for the UNet HLAPI. This channel is used for movement updates.

    Declaration
    public const int DefaultUnreliable = 1
    Field Value
    Type Description
    Int32
    In This Article
    • Fields
      • DefaultReliable
      • DefaultUnreliable
    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