Skip to content

Commit 2ff4608

Browse files
fix
Minor adjustment for the legacy NetworkEndPoint name.
1 parent 6cc324b commit 2ff4608

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,16 +1241,16 @@ public NetworkEndpoint GetEndpoint(ulong clientId)
12411241
}
12421242
#else
12431243
/// <summary>
1244-
/// Provides the <see cref="NetworkEndpoint"/> for the NGO client identifier specified.
1244+
/// Provides the <see cref="NetworkEndPoint"/> for the NGO client identifier specified.
12451245
/// </summary>
12461246
/// <remarks>
12471247
/// - This is only really useful for direct connections.
12481248
/// - Relay connections and clients connected using a distributed authority network topology will not provide the client's actual endpoint information.
12491249
/// - For LAN topologies this should work as long as it is a direct connection and not a relay connection.
12501250
/// </remarks>
12511251
/// <param name="clientId">NGO client identifier to get endpoint information about.</param>
1252-
/// <returns><see cref="NetworkEndpoint"/></returns>
1253-
public NetworkEndpoint GetEndpoint(ulong clientId)
1252+
/// <returns><see cref="NetworkEndPoint"/></returns>
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)