Limiting fire rate

Hello all, I know that the course covers limiting the fire rate while the user is holding down space bar, but there is nothing stopping them from rapidly pressing space in order to fire as fast as they can. How would I go about limiting this?

Figured it out guys: http://answers.unity3d.com/questions/132154/how-to-limit-the-players-rate-of-fire.html

Privacy & Terms