-
Notifications
You must be signed in to change notification settings - Fork 24
Scripts.ReassignButton
##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. |
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager