- Home /
How to make particles randomized each run?
Hello there!
I'm using legacy particle effects to generate static star dome. In Unity editor everything is almost ok: no same placement each run, but after editor reset, first run is always the same placement (when I don't touch anything, run editor and just run scene, that is). In standalone build, each run I got same star placement (and it's same "random seed" as in editor's first run).
Is there a possibility to randomize it before Emit()?
Answer by Kryptos · Sep 17, 2012 at 10:10 AM
Make sure you don't set the seed if you don't want to have the same sequence each run.
Setting the seed is only necessary when you want the same sequence every times.
And the problem is I don't set the seed in any place. The prove is each time I run it in editor I get different placement (I also manually searched for any unconsciously used seed setting, but there was none).
Your answer
![](https://koobas.hobune.stream/wayback/20220613081127im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Instantiating a random dropped consumable item from many cloned objects 1 Answer
Mystery: Unexpected behavior with randoms and arrays 2 Answers
How to generate a random number inside Unity? 7 Answers
Random movment, like mobs in wow 1 Answer