RandomiseNextEntry() producing same results
RandomiseNextEntry() producing same results
When I use RandomiseNextEntry() in the script field, the responses are random, but they are in the same order every time I start the game. It's like the seed hasn't been set.
Re: RandomiseNextEntry() producing same results
Hi,
RandomizeNextEntry() calls UnityEngine.Random.Range().
Unity's Random class should set a random seed based on the system clock when play mode starts.
Something in your project may be setting it to the same seed every time. You can do a global search in your code editor for "Random.InitState".
RandomizeNextEntry() calls UnityEngine.Random.Range().
Unity's Random class should set a random seed based on the system clock when play mode starts.
Something in your project may be setting it to the same seed every time. You can do a global search in your code editor for "Random.InitState".