When I call particles.Stop()
, or particles.playOnAwake = false
, the ParticleSystem still emits particles, and still returns true
for particles.isPlaying
.
What am I doing wrong?
public class ParticleTester : MonoBehaviour {
void Awake() {
ParticleSystem particles = GetComponent<ParticleSystem>();
particles.Stop();
Debug.Log(particles.isStopped + " " + particles.isPlaying);
}
}