start a particle effect when a button is pushed code example
Example: start a particle effect when a button is pushed
public ParticleSystem particles;
if (Input.GetKeyDown("a")){
particles.Play();
}
public ParticleSystem particles;
if (Input.GetKeyDown("a")){
particles.Play();
}