How I can activate or deactivate a Particle with my keyboard?

Hello

I want to Activate or deactivate a Particle (Sparkle Particles) by hitting one keyboard, Is there any script for that?

Thanks in advance!

Attach to your PE game object to toggle with the 'a' key (not tested):

private var pe : ParticleEmitter;

function Start()
{
  pe = GetComponent(ParticleEmitter);
}

function Update()
{
  if (Input.GetKeyDown("a"))
    pe.emit = !pe.emit;
}

no, but you can write code for this GameObject for disable particle component (or particle.emit = !particle.emit)