Actions after buttenpress too often

//updateFunktion

if ( Input.GetButton ("Fire1")) {
	shoot();
	Debug.Log("click");
}   

After pressing Fire1, i got 5 clicks in my log.
whats the reason and how to fix?

static function GetButton (buttonName : String) : boolean
Returns true while the virtual button identified by buttonName is held down.

Think auto fire - this will return true as long as the button is held down.

from Input.GetButton documentation

you are probably looking for Input.GetButtonDown as it will only return “true during the frame the user pressed down the virtual button”