M_MSCLoader_Keybind_Add_2 - piotrulos/MSCModLoader GitHub Wiki

Add(String, String, KeyCode) Method

Add a keybind.

Definition

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

Parameters

  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.

Return Value

SettingsKeybind
SettingsKeybind

See Also

Reference

Keybind Class
Add Overload
MSCLoader Namespace

⚠️ **GitHub.com Fallback** ⚠️