Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Random(uint)

Constructs a Random instance with a given seed value. The seed must be non-zero.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public Random(uint seed)

Parameters

seed

The seed to initialize with.