# Whac-A-Mole like

am trying to make a game that have a "whac-A-Mole" game principle

The problem that am facing is that i don't want the "enemies" to get out from holes at the same time, not even in a different close times, so i want to keep a minimum interval between each enemy and in the same time i want too keep the feeling of randomization, currently am making it like this :

enemy[0].hidingTime = Random.Range (hidingTimeRangeMin, hidingTimeRangeMax);
for (int i =1; i < NumOfEnemies; i++) {

enemy[i].hidingTime = enemy[i - 1].hidingTime + Random.Range (1, 3);
}


this fixed the 1st problem, but it will always make the enemies come out in the same order (1st one is faster, and last one is the last to come) i hope i explained it right thank you and have a great day