Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

NetworkConnection.SetChannelOption

public bool SetChannelOption(int channelId, Networking.ChannelOption option, int value);

Parameters

channelIdThe channel the option will be set on.
optionThe option to set.
valueThe value for the option.

Returns

bool True if the option was set.

Description

This sets an option on the network channel.

Channel options are usually advanced tuning parameters.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答