Removed

Network.GetLastPing

Obsolete The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.

Declaration

public static int GetLastPing(NetworkPlayer player);

Description

The last ping time to the given player in milliseconds.

If the player can't be found -1 will be returned. Pings are automatically sent out every couple of seconds.


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