Play particle effect when Space Bar is pressed

I’m currently working a “Cannon Defense” game and I’ve been searching across Unity Answers and Google for the exactly same subject but there’s nothing I couldn’t find at all. I actually purchased an explosion+gun particle asset that I needed for my project. Could anyone help me with this? All I’m asking is a script that plays a particle effect whenever I press the Space Bar.

Here’s my script:

[18911-htspritesheet.zip|18911]

Thanks

EDIT: (User turns out not to be using a particle system, but HTSpriteSheet.cs).

Just add a new script to the GameObject that HTSpriteSheet is attached to, and enable / disable the script like so:

using UnityEngine;
using System.Collections;

public class Example : MonoBehaviour 
{
    bool animate = false;
    HTSpriteSheet htss;

    void Start()
    {
       htss = GetComponent<HTSpriteSheet>();
    }

    void Update () 
    {
       htss.enabled = animate;

       if(Input.GetKeyDown (KeyCode.Space))
         animate = !animate;
    }
}

Be sure your script’s name is the same as the class name.