M_MSCLoader_Keybind_Add_2 - piotrulos/MSCModLoader GitHub Wiki
Add a keybind.
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.3.356
C#
public static <a href="T_MSCLoader_SettingsKeybind">SettingsKeybind</a> Add(
string id,
string name,
KeyCode key
)
View Source
- String
- The ID of the Keybind (Used only once in your mod).
- String
- The name of the Keybind that will be displayed.
- KeyCode
- The KeyCode the user will press.
SettingsKeybind
SettingsKeybind