Skip to content

Commit 23fe7a6

Browse files
fix
Simplifying NetworkEndPoint to NetworkEndpoint.
1 parent 18aed1f commit 23fe7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ public NetworkEndpoint GetEndpoint(ulong clientId)
12501250
/// </remarks>
12511251
/// <param name="clientId">NGO client identifier to get endpoint information about.</param>
12521252
/// <returns><see cref="NetworkEndPoint"/></returns>
1253-
public NetworkEndPoint GetEndpoint(ulong clientId)
1253+
public NetworkEndpoint GetEndpoint(ulong clientId)
12541254
{
12551255
if (m_Driver.IsCreated && NetworkManager != null && NetworkManager.IsListening)
12561256
{
@@ -1261,7 +1261,7 @@ public NetworkEndPoint GetEndpoint(ulong clientId)
12611261
return m_Driver.RemoteEndPoint(networkConnection);
12621262
}
12631263
}
1264-
return new NetworkEndPoint();
1264+
return new NetworkEndpoint();
12651265
}
12661266
#endif
12671267

0 commit comments

Comments
 (0)