Skip to content

Commit c9a8ca6

Browse files
committed
Fix code doc
1 parent 694ddc8 commit c9a8ca6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,17 +1146,17 @@ private void HostServerInitialize()
11461146
}
11471147

11481148
/// <summary>
1149-
/// Get the transportId from the associated clientId.
1149+
/// Get the TransportId from the associated ClientId.
11501150
/// </summary>
11511151
/// <param name="clientId">The ClientId to get the TransportId from</param>
1152-
/// <returns></returns>
1152+
/// <returns>The TransportId associated with the given ClientId</returns>
11531153
public ulong GetTransportIdFromClientId(ulong clientId) => ConnectionManager.ClientIdToTransportId(clientId);
11541154

11551155
/// <summary>
1156-
/// Get the clientId from the associated transportId.
1156+
/// Get the ClientId from the associated TransportId.
11571157
/// </summary>
1158-
/// <param name="clientId">The TransportId to get the ClientId from</param>
1159-
/// <returns></returns>
1158+
/// <param name="transportId">The TransportId to get the ClientId from</param>
1159+
/// <returns>The ClientId from the associated TransportId</returns>
11601160
public ulong GetClientIdFromTransportId(ulong transportId) => ConnectionManager.TransportIdToClientId(transportId);
11611161

11621162
/// <summary>
@@ -1319,7 +1319,7 @@ private void OnDestroy()
13191319
}
13201320
#if UNITY_EDITOR
13211321
EditorApplication.playModeStateChanged -= ModeChanged;
1322-
#endif
1322+
#endif
13231323
}
13241324

13251325
// Command line options

0 commit comments

Comments
 (0)