mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
cleanup
This commit is contained in:
parent
a4be521a87
commit
765de95607
@ -10,10 +10,8 @@ public void RemovesAllPrefabsFromDictionary()
|
||||
{
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
|
||||
NetworkClient.ClearSpawners();
|
||||
|
||||
Assert.IsEmpty(NetworkClient.prefabs);
|
||||
}
|
||||
|
||||
@ -22,10 +20,8 @@ public void RemovesAllSpawnHandlersFromDictionary()
|
||||
{
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
|
||||
NetworkClient.ClearSpawners();
|
||||
|
||||
Assert.IsEmpty(NetworkClient.spawnHandlers);
|
||||
}
|
||||
|
||||
@ -34,7 +30,6 @@ public void RemovesAllUnspawnHandlersFromDictionary()
|
||||
{
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
|
||||
NetworkClient.ClearSpawners();
|
||||
|
||||
@ -46,13 +41,10 @@ public void ClearsAllDictionary()
|
||||
{
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.prefabs.Add(Guid.NewGuid(), null);
|
||||
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.spawnHandlers.Add(Guid.NewGuid(), null);
|
||||
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
NetworkClient.unspawnHandlers.Add(Guid.NewGuid(), null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user