T_MSCLoader_SettingsKeybind - piotrulos/MSCModLoader GitHub Wiki

SettingsKeybind Class

Keybind

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.4.2.410

C#

public class SettingsKeybind : ModKeybind
Inheritance Object → ModKeybind → SettingsKeybind

Properties

GetKeybindValue Get the current keybind combination as string (if no modifier, only key will be displayed) (do not parse this value for input checking)
GetKeyValue Get the current set key for keybind as KeyCode (do not use this value for input checking)
GetModifierValue Get the current set modifier for keybind as KeyCode (if no modifier, KeyCode.None will be returned) (do not use this value for input checking)

Methods

GetKeybind Check if keybind is being hold down. (Same behaviour as unity GetKey)
GetKeybindDown Check if the keybind was just pressed once. (Same behaviour as unity GetKeyDown)
GetKeybindUp Check if the keybind was just released. (Same behaviour as unity GetKeyUp)

See Also

Reference

MSCLoader Namespace

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