private static void OnSettingsGenerated(ScriptableObject settings) { CustomHotkeysSettings hotkeys = settings as CustomHotkeysSettings; if (hotkeys != null) { hotkeys.hotkeys.Add(new CustomHotkeysSettings.MethodHotkey() { bind = "%G", staticMethod = typeof(NGScenesWindow).FullName + ".Open" }); } }
private static void OnSettingsGenerated(ScriptableObject asset) { CustomHotkeysSettings hotkeys = asset as CustomHotkeysSettings; if (hotkeys != null) { hotkeys.hotkeys.Add(new CustomHotkeysSettings.MethodHotkey() { bind = "%W", staticMethod = typeof(NGConsoleWindow).FullName + ".ClearNGConsole" }); } }