Class HotkeyKeyMap
Maps hotkey slot indices to the input names bound to them.
public static class HotkeyKeyMap
- Inheritance
-
HotkeyKeyMap
- Inherited Members
Remarks
Previously a static method on the uGUI UIHotkeyBar. It is not a rendering concern —
it names input bindings — and the UI Toolkit hotkey bar needs it, so it moved out of the
uGUI tree rather than being duplicated into it.
Methods
Get(int)
Gets the key mapping string for a hotkey index.
public static string Get(int hotkeyIndex)
Parameters
hotkeyIndexintThe hotkey index.
Returns
- string
The key mapping string, or empty when the index is not bound.