Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkTransport.GetIncomingPacketCountForAllHosts

Obsolete public static int GetIncomingPacketCountForAllHosts();

Returns

int Packets count received from start for all hosts.

Description

Returns how many packets have been received from start. (from Networking.NetworkTransport.Init call).

To define packet rate, you can call this function periodically.

Did you find this page useful? Please give it a rating: