Skip to content

Commit 51df847

Browse files
style
updating a comment on the UpdateAuthoritativeState method.
1 parent 3ed5dfb commit 51df847

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,9 +1267,9 @@ private void SetStateServerRpc(Vector3 pos, Quaternion rot, Vector3 scale, bool
12671267
}
12681268

12691269
/// <summary>
1270-
/// If the instance is authority it will attempt to update the current tick
1271-
/// network state and returns true.
1272-
/// If it is not authority it exits early returning false.
1270+
/// Will update the authoritative transform state if any deltas are detected.
1271+
/// This will also reset the m_LocalAuthoritativeNetworkState if it is still dirty
1272+
/// but the replicated network state is not.
12731273
/// </summary>
12741274
/// <param name="transformSource">transform to be updated</param>
12751275
private void UpdateAuthoritativeState(Transform transformSource)

0 commit comments

Comments
 (0)