Class Channels | Multiplayer HLAPI | 1.0.8
docs.unity.cn
    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 December 2020