Skip to content

Commit 7072c35

Browse files
style
adding a tooltip and updated comments
1 parent 2fde234 commit 7072c35

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,14 @@ public Animator Animator
208208
}
209209
}
210210

211+
[Tooltip("When enabled, the NetworkAnimator will operate in server authoritative mode.")]
211212
[SerializeField]
212213
private bool m_IsServerAuthoritative;
213214

214215
/// <summary>
215-
/// When set to true, the NetworkAnimator will operate in server authoritative mode.
216-
/// The default is owner authoritative, also known as "client authoritative".
216+
/// Server-Side Only:
217+
/// Can be used to switch between server and owner authoritative modes during runtime.
218+
/// Note: Only when the associated NetworkObject is spawned.
217219
/// </summary>
218220
public bool IsServerAuthoritative
219221
{

0 commit comments

Comments
 (0)