/// <summary> /// Rebuilds and reloads all of the abilities. Useful after changing settings. /// </summary> public static void Init() { _singletonInstance = new AbilityChainsManager(); var pawsHotKeys = HotkeysManager.Hotkeys.Where(o => o.Name.StartsWith("Paws_")); var hotKeys = pawsHotKeys as Hotkey[] ?? pawsHotKeys.ToArray(); for (var i = 0; i < hotKeys.Count(); i++) { var hotKey = hotKeys.ElementAt(i); HotkeysManager.Unregister(hotKey); Log.Diagnostics(string.Format("Unregistered Hotkey {0}", hotKey.Name)); } }