Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.
Actions::rebind()
Lets the player choose a new key or button for an action, e.g. from an options menu: the next key, mouse button, controller button or stick direction pressed replaces what the action was bound to on that device (a key replaces the keys and mouse buttons, a controller button the controller's). Escape cancels. While it waits, no action is pressed, so menus do not react to the new key.
Syntax
Java
.rebind(action)
Parameters
| Name | Data Type | Description |
|---|---|---|
| action | String | the action's name |
Return
void