Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useAutoRandomSeed

Controls whether the Particle System uses an automatically-generated random number to seed the random number generator.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public bool useAutoRandomSeed { get; set; }

Remarks

If set to true, the Particle System will generate a new random seed each time it is played. If set to false, ParticleSystem.randomSeed will be used instead, allowing for a constant seed (useful if you want your particles to play in exactly the same way each time) or user-defined random value (for example, you may want to cycle through an array of seeds).