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;
}