File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
com.unity.netcode.gameobjects/Tests/Runtime Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55using Unity . Netcode . TestHelpers . Runtime ;
66#if UNITY_UNET_PRESENT
77using Unity . Netcode . Transports . UNET ;
8+ #else
9+ using Unity . Netcode . Transports . UTP ;
810#endif
911
1012namespace Unity . Netcode . RuntimeTests
@@ -39,7 +41,7 @@ public void Setup()
3941 public IEnumerator ClientFailsToConnect ( )
4042 {
4143 // Wait for the disconnected event
42- m_ClientNetworkManager . OnClientDisconnectCallback += M_ClientNetworkManager_OnClientDisconnectCallback ;
44+ m_ClientNetworkManager . OnClientDisconnectCallback += ClientNetworkManager_OnClientDisconnectCallback ;
4345
4446 // Only start the client (so it will timeout)
4547 m_ClientNetworkManager . StartClient ( ) ;
@@ -58,7 +60,7 @@ public IEnumerator ClientFailsToConnect()
5860 yield return m_DefaultWaitForTick ;
5961 }
6062
61- private void M_ClientNetworkManager_OnClientDisconnectCallback ( ulong obj )
63+ private void ClientNetworkManager_OnClientDisconnectCallback ( ulong clientId )
6264 {
6365 m_WasDisconnected = true ;
6466 }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments