Method TestNetworkObjectDespawnOnShutdown
TestNetworkObjectDespawnOnShutdown(InstanceType)
Tests that a spawned NetworkObject's associated NetworkBehaviours will have their OnNetworkDespawn invoked during NetworkManager shutdown.
Declaration
[UnityTestAttribute]
public IEnumerator TestNetworkObjectDespawnOnShutdown(NetworkObjectOnNetworkDespawnTests.InstanceType despawnCheck)
Parameters
Type | Name | Description |
---|---|---|
NetworkObjectOnNetworkDespawnTests.InstanceType | despawnCheck |
Returns
Type | Description |
---|---|
IEnumerator |