Skip to content

Commit 6856d74

Browse files
committed
Update xml doc
1 parent 1fcd7cb commit 6856d74

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

com.unity.netcode.gameobjects/Editor/NetworkBehaviourEditor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ private void OnEnable()
322322
}
323323

324324
/// <summary>
325-
/// Recursively finds the root parent of a <see cref="Transform"/>
325+
/// Obsolete method to find root parent of a <see cref="Transform"/>.
326+
/// Use <see cref="Transform.root"/> instead.
326327
/// </summary>
327328
/// <param name="transform">The current <see cref="Transform"/> we are inspecting for a parent</param>
328329
/// <returns>the root parent for the first <see cref="Transform"/> passed into the method</returns>

0 commit comments

Comments
 (0)