every time I click play an error appears down that says: Input button crouch is not setup
and then I go to edit->project settings->Input and there is no crouch listed in it.
So how can I add crouch button to input manager?
Thanks
every time I click play an error appears down that says: Input button crouch is not setup
and then I go to edit->project settings->Input and there is no crouch listed in it.
So how can I add crouch button to input manager?
Thanks
If you want to add another input button in the Input manager, follow these steps:
You probably spelled something wrong or you didn't press the Enter key after typing :)
– Simple_Zomb if (Input.GetButtonDown("Fire1"))
{
//do something
}
press left clt button for fire1 the positive control button is left clt go to edit->project setting->input to see list of virtual button and there settings
put the code u have done
– anon16754120sample code which case error
– anon16754120go to edit->project setting->input and the set key which ever you have used in the code
– anon16754120