Skip to content

Commit 1ba970a

Browse files
style
Adjusting internal comments for clarity purposes.
1 parent cbe3d71 commit 1ba970a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,13 +2253,11 @@ internal bool InternalTrySetParent(NetworkObject parent, bool worldPositionStays
22532253
/// <summary>
22542254
/// The root NetworkTransform is either the first one discovered or the one on the root
22552255
/// prefab GameObject instance that has the NetworkObject component attached to it.
2256-
///
2257-
/// This is primarily used for the NetworkTransform parent directive update that allows
2258-
/// for as many parenting sequences to occur as can be pushed out to the maximum number of
2259-
/// in-flight messages (i.e. dozens upon dozens of parenting messages can be back-to-back).
22602256
/// </summary>
22612257
/// <remarks>
2262-
/// *** Requires <see cref="NetworkTransform.SwitchTransformSpaceWhenParented"/> to be enabled.
2258+
/// Used when <see cref="NetworkTransform.SwitchTransformSpaceWhenParented"/> is enabled
2259+
/// on the root network transform for sending an <see cref="NetworkTransformMessage"/> with
2260+
/// a parenting directive included.
22632261
/// </remarks>
22642262
internal NetworkTransform RootNetworkTransform;
22652263

0 commit comments

Comments
 (0)