- Home /
Question by
Plasma Dog · Apr 16, 2013 at 08:31 PM ·
randomrandom.rangeseed
Random: When to set the seed ?
I want to have repeatable results every time I run my game. However, i am using Random.range in multiple classes. Do I set the seed once in a "main class" or do i have to set it every time I call Random.Range() ?
Comment
Best Answer
Answer by Graham-Dunnett · Apr 16, 2013 at 08:31 PM
Set it once when the game starts up.
Your answer
![](https://koobas.hobune.stream/wayback/20220613100443im_/https://answers.unity.com/themes/thub/images/avi.jpg)