We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ca749 commit a658931Copy full SHA for a658931
com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs
@@ -541,7 +541,7 @@ internal bool IsBehaviourEditable()
541
542
var networkManager = m_NetworkObject.NetworkManager;
543
544
- // Only server can MODIFY. So allow modification if network is either not running or we are server
+ // Only the authority can MODIFY. So allow modification if network is either not running or we are the authority.
545
return !networkManager.IsListening ||
546
((networkManager.DistributedAuthorityMode && m_NetworkObject.IsOwner) || (!networkManager.DistributedAuthorityMode && networkManager.IsServer));
547
}
0 commit comments