Exemplo n.º 1
0
    IEnumerator ExplosiveCoroutine()
    {
        yield return(new WaitForSeconds(SpawnHelpers.GetInitialExplosiveDelay()));

        while (true)
        {
            spawnExplosive();
            yield return(new WaitForSeconds(explosiveSpawnDelay));
        }
    }