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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkMessage.MaxMessageSize

public static int MaxMessageSize;

Description

The size of the largest message in bytes that can be sent on a NetworkConnection.

Note that channels that are not Fragmented cannot send messages larger than the Maximum Transmission Unity (MTU) size, which is about 1400 bytes by default.

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