Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ internal void InternalOnNetworkDespawn()

/// <summary>
/// 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.
/// In distributed authority contexts, this method is only invoked on the local client that has been assigned ownership of the associated <see cref="Netcode.NetworkObject"/>.
/// In distributed authority contexts, this method is invoked on all clients connected to the session.
/// </summary>
public virtual void OnGainedOwnership() { }

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

Expand Down