Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.15k stars 435 forks source link

fix: Improve API doc for OnGainedOwnership and OnLostOwnership #2997

Closed jabbacakes closed 3 months ago

jabbacakes commented 4 months ago

Updating the API doc for NetworkBehaviour.OnGainedOwnership and NetworkBehaviour.OnLostOwnership, per issue 1255 in the docs repo.

@NoelStephensUnity Please make sure you have a close look at the edits for client-server vs. distributed authority contexts. Pretty sure I got it right based on our chat yesterday, but need your eyes to be sure 👀

Equivalent PR for 1.x version is here: #2996

Changelog

Testing and Documentation

unity-cla-assistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.