Class SeededRandom
- Namespace
- GrindFest.Generation.Common
- Assembly
- GrindFest.dll
Deterministic random for procedural generation. Wraps System.Random so the same seed always produces the same sequence (unlike UnityEngine.Random which is process-global state).
public class SeededRandom
- Inheritance
-
objectSeededRandom
Constructors
Methods
- NextFloat()
Uniform [0,1).
- NextFloat(float, float)
Uniform [min,max).
- NextSigned()
Uniform [-1,1].