Method InstantiateDestroySpawnNotCalled
InstantiateDestroySpawnNotCalled()
Tests that instantiating a NetworkObject and destroying without spawning it does not run OnNetworkSpawn() or OnNetworkSpawn().
Declaration
[UnityTestAttribute]
public IEnumerator InstantiateDestroySpawnNotCalled()
Returns
Type | Description |
---|---|
IEnumerator |