Random

The UnityEngine.Random class provides easy random number generation for gameplay. Loot drops, spawn positions, damage variance, procedural generation — randomness is everywhere in games.

More in Game Math

  1. Vectors
  2. Quaternions & Rotations
  3. Interpolation
  4. Mathf
  5. Trigonometry
  6. Random
  7. Coordinate Systems

All 157 topics in the Learn Unity Roadmap