public static RandomNumber Create() { var random = new RandomNumber(); random.Initialize(); return(random); }
private void Awake() { if (instance != null && instance != this) { Destroy(this); } else { instance = this; } if (RandomSeed) { seed = RandomNumber.Range(-1000, 1000); } RandomNumber.Initialize(seed); }