private IEnumerator SpawnRoutine()
    {
        while (true)
        {
            yield return(new WaitForSeconds(spawnDelay));

            BallSpawnEvent?.Invoke(spawnPoints);
        }
    }
Beispiel #2
0
 private void PlaySpawnClip(BallSpawnEvent obj)
 {
     PlayClip(BallSpawn);
 }