Merge pull request #4 from UnEpicier/3-remove-5s-cooldown-before-enemies-spawn

Fix: Remove the 5s cooldown of the spawner
This commit was merged in pull request #4.
This commit is contained in:
Un Épicier
2023-10-24 08:27:25 +02:00
committed by GitHub
+1 -1
View File
@@ -25,7 +25,7 @@ public class Spawner : MonoBehaviour
private void Start()
{
InvokeRepeating(nameof(SpawnWave), 5f, 5f);
InvokeRepeating(nameof(SpawnWave), 0f, 5f);
}
private void OnDrawGizmos()