Class Channels
Class containing constants for default network 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 |