Version: 2017.4

NetworkTransport.GetIncomingPacketCountForAllHosts

マニュアルに切り替える
public static int GetIncomingPacketCountForAllHosts ();

戻り値

int Packets count received from start for all hosts.

説明

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

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