title: Particle System not working on Play()
body: <p>I have a particle effect that I would like to trigger to play, and then stop. I'm sure this is an easy fix that I am over looking. </p>
  
  <p>The particle can instantiate and play, but this obviously leaves overhead and particles that are active in the hierarchy when they don't need to be. </p>
  
  <pre><code>public void EmitFX(ParticleSystem particle)
  {
     Instantiate(particle, particlePos, Qauternion.identity)
  }
  </code></pre>
  
  <p>I would like to use methods within ParticleSystem but am running into some problems. I have been using the manual and am still running into a block. I've googled this up and down, based on problems others had I changed my code to the following. It still does not work and is now a monster based on hacks other people found useful :/</p>
  
  <pre><code>public void EmitFX(ParticleSystem particle)
      {
          particle = particle.GetComponent&lt;ParticleSystem&gt;();
          particle.transform.position = ballPos;
  
          var em = particle.emission;
          em.enabled = true;       
  
          particle.Play();
      }
  </code></pre>
  
  <p>Here is a s/c of a particle in the Inspector.</p>
  
  <p><a href="https://i.stack.imgur.com/AATfJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AATfJ.png" alt="enter image description here"></a></p>