I’m dong the Space Shooter tutorial and I’ve written the code just like they have in the tutorial as follows but when I go to test it in the game I get what follows the code.
private void Update()
{
if (Input.GetButton(“fire1”) && Time.time > nextFire)
{
nextFire = Time.time + fireRate;
// GameObjset Clone =
Instantiate(shot, shotspawn.position, shotspawn.rotation); // as GameObject;
}
ArgumentException: Input Button fire1 is not setup.
To change the input settings use: Edit → Project Settings → Input
PlayerControler1.Update () (at Assets/_Scripts/PlayerControler1.cs:25)
I don’t know what all that means. May I get some help.