Hi there, I’m trying to play a particle system only ONE time, so here is my code:
public ParticleEmitter fireWork;
void Update() {
// my stuffs
if (distance < 0.3f) {
// my other stuffs
Instantiate(fireWork, particlePosition, Quaternion.identity);
fireWork.Emit();
}
}
But it not works, the particle’s still repeat times to times. Can anyone help me ?