Question by
JoseGiu · Apr 09, 2017 at 06:07 PM ·
randomgeneration
Choice level in Random Level generator
Hi! I have 3 level options (Left , Mid and Right) and i generate this levels in random secuency. But if "left" is generated, the next Level can only be "MID" (can not be "Right"). The same problem if the first level is "Right", next level can only be "MID". How can i do that?
Mi code for now:
I have Unity 5.6.0f3 !! Thanks You!
codigo-generar.png
(11.4 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612115043im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to randomly move each generated clone? 0 Answers
Randomly generated content? 1 Answer
Dungeon Generator script 0 Answers
Clear path from A to B 4 Answers
Easy chunk prefab creation 0 Answers