Пример #1
0
    IEnumerator ExpandCoroutine()
    {
        yield return(new WaitForSeconds(SpawnHelpers.GetInitialExpandDelay()));

        while (true)
        {
            spawnExpandWeapon();
            yield return(new WaitForSeconds(expandSpawnDelay));
        }
    }