Question by
nadielTaylor · Dec 06, 2015 at 02:57 PM ·
c#jumpinputmanager
Help with Super Simple Jump Script
I have a super simple jump script but I am getting the error "ArgumentException: Input Button space is not setup". But when I go to the input manager I have the Positive button set to space.
My script is:
void Update()
{ if (Input.GetButtonDown ("space") && grounded == true) {
rb.AddForce(transform.up*jumpPower); grounded = false; }
Comment