// You are probably using the wrong function // For keys Input.GetKeyDown(KeyCode.Mouse0); // Input manager Input.GetButtonDown("Fire1");