Skip to content

Commit 4b2d4d2

Browse files
update
fixing xml api documentation for OnLostOwnership
1 parent 05070b6 commit 4b2d4d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ internal void InternalOnNetworkDespawn()
826826

827827
/// <summary>
828828
/// In client-server contexts, this method is invoked on both the server and the local client of the owner when <see cref="Netcode.NetworkObject"/> ownership is assigned.
829-
/// In distributed authority contexts, this method is invoked on all clients connected to the session./>.
829+
/// In distributed authority contexts, this method is invoked on all clients connected to the session.
830830
/// </summary>
831831
public virtual void OnGainedOwnership() { }
832832

@@ -863,7 +863,7 @@ internal void InternalOnOwnershipChanged(ulong previous, ulong current)
863863
/// <summary>
864864
/// In client-server contexts, this method is invoked on the local client when it loses ownership of the associated <see cref="Netcode.NetworkObject"/>
865865
/// and on the server when any client loses ownership.
866-
/// In distributed authority contexts, this method is only invoked on the local client that has lost ownership of the associated <see cref="Netcode.NetworkObject"/>.
866+
/// In distributed authority contexts, this method is invoked on all clients connected to the session.
867867
/// </summary>
868868
public virtual void OnLostOwnership() { }
869869

0 commit comments

Comments
 (0)