This version of Unity is unsupported.
Method group is Obsolete

NetworkBehaviour.GetNetworkChannel

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public int GetNetworkChannel();

Returns

int The QoS channel for this script.

Description

This virtual function is used to specify the QoS channel to use for SyncVar updates for this script.

Using the NetworkSettings custom attribute causes this function to be implemented for this script, but developers can also implement it themselves.