Spawn time delay question

Why not to make this process easier?


Why to make it more complicated and have 3 variables?

My variant makes the same?

public float GetRandomSpawnTime()
    {
        float spawnTime = Random.Range(minDelayTime, maxDelayTime);
        return spawnTime;    
    }

Hi,

Good job on challenging yourself. Did you test your idea? Does it work? If so, it’s a solution. :slight_smile:


See also:

Yes, it works all the same.

Maybe there is a reason why it is made with 3 variables?

Probably to achieve more randomness. To be honest, I don’t know if one would notice any difference between your solution and the solution in the screenshot. Maybe if one plays both variants for several hours. Keep the solution you like best. :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms