public static int GetPing(this PhotonPlayer player) { return(player.GetProperty <int> (PlayerProperty.Ping)); }