x


GetButtonDown Button-Names ..?!

I've seen stuff like

If(input.GetButtonDown('jump'))

And it works in my file where I am following a tutorial. But where is the jump-button defined? How does it know it's [space]?? Where can I find a list of these kind of definitions if there is one?

more ▼

asked Mar 07 '13 at 12:53 PM

Angelorf gravatar image

Angelorf
21 1 1 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

You can see the definitions, and define your own, by using the Input Manager.

You can get to it from the main menu using Edit->Project Settings->Input.

more ▼

answered Mar 07 '13 at 12:55 PM

Dave Carlile gravatar image

Dave Carlile
6.7k 1 10 27

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1368
x43
x1

asked: Mar 07 '13 at 12:53 PM

Seen: 3138 times

Last Updated: Mar 07 '13 at 12:55 PM