mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
comments
This commit is contained in:
parent
52a560ca6d
commit
2fd87a49ec
@ -64,10 +64,8 @@ public IEnumerator Shutdown_DestroysAllSpawnedPrefabs()
|
|||||||
NetworkIdentity identity2 = spawnPrefab(prefab);
|
NetworkIdentity identity2 = spawnPrefab(prefab);
|
||||||
|
|
||||||
|
|
||||||
// test
|
// shutdown, wait 1 frame for unity to destroy objects
|
||||||
NetworkServer.Shutdown();
|
NetworkServer.Shutdown();
|
||||||
|
|
||||||
// wait 1 frame for unity to destroy objects
|
|
||||||
yield return null;
|
yield return null;
|
||||||
|
|
||||||
// check that objects were destroyed
|
// check that objects were destroyed
|
||||||
|
Loading…
Reference in New Issue
Block a user