File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
com.unity.netcode.gameobjects/Editor/Analytics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#if UNITY_EDITOR
22using System ;
33using System . Text ;
4- using UnityEngine ;
54using UnityEngine . Analytics ;
65
76namespace Unity . Netcode . Editor
@@ -22,19 +21,20 @@ public override string ToString()
2221 var message = new StringBuilder ( ) ;
2322 message . AppendLine ( $ "{ nameof ( IsDistributedAuthority ) } : { IsDistributedAuthority } ") ;
2423 message . AppendLine ( $ "{ nameof ( WasServer ) } : { WasServer } ") ;
25- message . AppendLine ( $ "{ nameof ( WasClient ) } : { WasClient } ") ;
24+ message . AppendLine ( $ "{ nameof ( WasClient ) } : { WasClient } ") ;
2625 message . AppendLine ( $ "{ nameof ( UsedCMBService ) } : { UsedCMBService } ") ;
2726 message . AppendLine ( $ "{ nameof ( IsUsingMultiplayerSDK ) } : { IsUsingMultiplayerSDK } ") ;
2827 message . AppendLine ( $ "{ nameof ( NetworkTransport ) } : { NetworkTransport } ") ;
2928 message . AppendLine ( $ "{ nameof ( EnableSceneManagement ) } : { EnableSceneManagement } ") ;
3029 message . AppendLine ( $ "{ nameof ( TickRate ) } : { TickRate } ") ;
3130 return message . ToString ( ) ;
3231 }
32+ #if ENABLE_NGO_ANALYTICS_LOGGING
3333 internal void LogAnalytics ( int sessionNumber )
3434 {
3535 Debug . Log ( $ "{ ToString ( ) } ") ;
3636 }
37-
37+ #endif
3838 public bool Equals ( NetworkManagerAnalytics other )
3939 {
4040 return IsDistributedAuthority == other . IsDistributedAuthority && WasServer == other . WasServer && WasClient == other . WasClient
You can’t perform that action at this time.
0 commit comments