How do I designate the string for GetButtonDown?

In the script on the Unity reference it has this piece of code.

if (Input.GetButtonDown ("Fire1")) {

How do I designate a button or mouse click as "Fire1"?

In the editor, go to the following menu: `Edit->ProjectSettings->Input`. There you'll see all of the predefined button names and the keys assigned to them. The "Positive Button" is typically the value you want to change for an individual button (in this case "Fire1"). Docs for the Input manager are available here.

use getbuttonup, then it can only mhappen once oer press