Version: 2017.1

NetworkTransport.GetIncomingPacketCountForAllHosts

Switch to Manual
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 NetworkTransport.Init call).

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