private void Awake() { instance = this; count = 0; foreach (Shortcut shortcut in Shortcut.shortcuts) { AddKeymapping(shortcut.name, shortcut); } }
private void OnDestroy() { instance = null; m_EditingBinding = null; m_components.Clear(); }