Skip to content

Scripts.ReassignButton

Wesley Haws edited this page Jan 1, 2017 · 2 revisions

##Scripts - ReassignButton

###What does this do?


Allows the player to change keybindings at run time. This works with controllers as well.

Note: This requires daemon3000's Input Manager. This is included in this git repo. However, documentation can be found on his git repo. The link is found in the footer below.

###Who/What is this for?


Root GUI Gameobject only.

###Setup


Nothing should be added to any of the input values. Those are simply for debugging purposes.

Parameter Type Description
Reassign Button GameObject Last gameobject to be changed.
Original Key String Original key prior to change
Back Button Game Object Legacy.
Clone this wiki locally