From 745ef9409d9dad4d0405d3f846b52820d6d73d0e Mon Sep 17 00:00:00 2001 From: vis2k Date: Fri, 24 Aug 2018 14:50:57 +0200 Subject: [PATCH] NetworkConnection: removed last NetworkDetailStats call --- .../Runtime/NetworkConnection.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Unity-Technologies-networking/Runtime/NetworkConnection.cs b/Unity-Technologies-networking/Runtime/NetworkConnection.cs index b17625de7..e6cd6c8ef 100644 --- a/Unity-Technologies-networking/Runtime/NetworkConnection.cs +++ b/Unity-Technologies-networking/Runtime/NetworkConnection.cs @@ -241,19 +241,6 @@ protected void HandleBytes(byte[] buffer) msgDelegate(msg); } lastMessageTime = Time.time; - - #if UNITY_EDITOR - UnityEditor.NetworkDetailStats.IncrementStat( - UnityEditor.NetworkDetailStats.NetworkDirection.Incoming, - (short)MsgType.HLAPIMsg, "msg", 1); - - if (msgType > (short)MsgType.Highest) - { - UnityEditor.NetworkDetailStats.IncrementStat( - UnityEditor.NetworkDetailStats.NetworkDirection.Incoming, - (short)MsgType.UserMessage, msgType.ToString() + ":" + msgType.GetType().Name, 1); - } - #endif } else {