Getting fire when clicking

Hey trying to make a thing where i can start a fire by clicking on the wood. Right now im just using a cube for testing but will probly later use a real wood looking object. I kind of hav a script going but its pretty bad kinda like OnMouseDown Emit.particleEmitter but a little more script like haha. Yeah but if you guys could help it would be greatly appreciated.
Thanks

You could make a particle system, put it into a prefab, and then instantiate that particle system in the OnMouseDown() function. This would let you have a little more visual control over the particle system you are trying to create.

Ok thanks and got some questions that are probly really noobish
I want to use the script flame that is in unity already so to make a prefab would i have to drag that into the cube? And to instaniate it what would i write in the script?
I know noob questions but im pretty new
thanks for the help:)