Method OnNetworkDespawnInvokedWhenClientDisconnects
OnNetworkDespawnInvokedWhenClientDisconnects()
This validates that upon a client disconnecting, the server-side client's player clone will invoke NetworkBehaviour.OnNetworkDespawn when the component precedes the NetworkObject component.(PR-2323)
Declaration
[UnityTestAttribute]
public IEnumerator OnNetworkDespawnInvokedWhenClientDisconnects()
Returns
Type | Description |
---|---|
IEnumerator |