Comments and answers for "How do I seed the random number generator myself and still get pseudorandom values?"
http://answers.unity.com/questions/272660/how-do-i-seed-the-random-number-generator-myself-a.html
The latest comments and answers for the question "How do I seed the random number generator myself and still get pseudorandom values?"Answer by ceptri
http://answers.unity.com/answers/447928/view.html
You just need to be careful about trusting the random to be the same. If some other system calls random in the middle of this function, the same seed won't produce the same set of numbers since Random is global.
In reality, this system should be refactored so you make your own stream object, then you can control who is called it and insure that the stream of random number is always the same.Tue, 30 Apr 2013 23:46:47 GMTceptriComment by MountDoomTeam
http://answers.unity.com/comments/383487/view.html
yes you could also use the square root of both numbers.Sat, 19 Jan 2013 09:08:36 GMTMountDoomTeamComment by whydoidoit on whydoidoit's answer
http://answers.unity.com/comments/272723/view.html
Yeah that's what happens when I do it - I choose a seed then it repeats the same sequence, each step being pseudorandom. If you want to always get a random number between 0 and 1 (or whatever) and you want to make sure it is the same number given a set of standard inputs - it looks like prime numbers are the way to go.Fri, 22 Jun 2012 23:21:17 GMTwhydoidoitComment by Wolfram on Wolfram's answer
http://answers.unity.com/comments/272722/view.html
Hm, I haven't tried with Unity, but I thought the idea of a seed was that consecutive calls to Random.value produce the same series of random numbers for the same seed?Fri, 22 Jun 2012 23:18:37 GMTWolframComment by Berenger on Berenger's answer
http://answers.unity.com/comments/272717/view.html
Isn't the seed updated each time you use Random.XXX ? Calling Random.value twice doesn't get you the same thing. That doesn't each result unique though, using prime numbers is the way to go.Fri, 22 Jun 2012 23:11:53 GMTBerengerComment by whydoidoit on whydoidoit's answer
http://answers.unity.com/comments/272715/view.html
@wolfram A damn good point.Fri, 22 Jun 2012 23:05:31 GMTwhydoidoitComment by Wolfram on Wolfram's answer
http://answers.unity.com/comments/272713/view.html
This suggestion will effectively prevent visible repetition patterns/mirroring effects between x and y.
If you want to guarantee that there are *no* duplicate seeds whatsoever, at least one of your primes needs to be larger than your possible maximum value of x and y.Fri, 22 Jun 2012 22:51:50 GMTWolframAnswer by whydoidoit
http://answers.unity.com/answers/272686/view.html
You add them together and multiply both by different prime numbers.Fri, 22 Jun 2012 21:23:49 GMTwhydoidoit