title: Change range of particle system start colours in unity
body: <p>Hopefully a simple question. I want to change the two start colors for the 'random between two colors' start colors in the particle system component, using C# in unity, however, can't seem to figure out how.</p>
  
  <p>Here is the code I thought would do it, but it does not:</p>
  
  <pre><code>void Start () {
       Color particleMax = gameObject.GetComponent&lt;ParticleSystem&gt; ().main.startColor.colorMax;
       particleMax = Color.red;
       Color particleMin = gameObject.GetComponent&lt;ParticleSystem&gt; ().main.startColor.colorMin;
       particleMin = Color.white;
   }
  </code></pre>