Skip to content

Commit 8842685

Browse files
style
adding remarks around comments
1 parent 6324e9d commit 8842685

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.unity.netcode.gameobjects/Components/NetworkTransform.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,13 +461,15 @@ internal NetworkTransformState GetLastSentState()
461461
return m_LastSentState;
462462
}
463463

464+
/// <remarks>
464465
/// Calculated when spawned, this is used to offset a newly received non-authority side state by 1 tick duration
465466
/// in order to end the extrapolation for that state's values.
466467
/// Example:
467468
/// NetworkState-A is received, processed, and measurements added
468469
/// NetworkState-A is duplicated (NetworkState-A-Post) and its sent time is offset by the tick frequency
469470
/// One tick later, NetworkState-A-Post is applied to end that delta's extrapolation.
470471
/// <see cref="OnNetworkStateChanged"/> to see how NetworkState-A-Post doesn't get excluded/missed
472+
/// </remarks>
471473
private double m_TickFrequency;
472474

473475
/// <summary>

0 commit comments

Comments
 (0)