Class Channels | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class Channels

    Class containing constants for default network channels.

    Inheritance
    System.Object
    Channels
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    System.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
    System.Int32
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX