|
NGUI: Next-Gen UI kit
3.7.2
|
This class makes it possible to activate or select something by pressing a key (such as space bar for example). More...
Public Types | |
| enum | Action { Action.PressAndClick, Action.Select, Action.All } |
| enum | Modifier { Modifier.None, Modifier.Shift, Modifier.Control, Modifier.Alt } |
Public Attributes | |
| KeyCode | keyCode = KeyCode.None |
| Key that will trigger the binding. More... | |
| Modifier | modifier = Modifier.None |
| Modifier key that must be active in order for the binding to trigger. More... | |
| Action | action = Action.PressAndClick |
| Action to take with the specified key. More... | |
This class makes it possible to activate or select something by pressing a key (such as space bar for example).
| enum UIKeyBinding.Action |
| Action UIKeyBinding.action = Action.PressAndClick |
Action to take with the specified key.
| KeyCode UIKeyBinding.keyCode = KeyCode.None |
Key that will trigger the binding.
| Modifier UIKeyBinding.modifier = Modifier.None |
Modifier key that must be active in order for the binding to trigger.