Add obstacle component for waiting client

This commit is contained in:
Antoine H 2021-01-04 15:34:54 +01:00
parent 772a7b665f
commit 8ba1513020
4 changed files with 64 additions and 7 deletions

View file

@ -9,7 +9,7 @@ public sealed class ClientManager : MonoBehaviour
int nbMaxClients = 10;
bool clientSpawnReady = false;
float clientSpawnTimer = 0.5f; //Intial time before first spawn (pseudo-random after that)
float maxTimeNewClients = 10.0f;
float maxTimeNewClients = 2.0f;
string ClientRessourceFolder = "Clients";
private Object[] clients;