public static SettingsProvider CreateMyCustomSettingsProvider() { var provider = new SettingsProvider(ACTkEditorConstants.SettingsProviderPath, SettingsScope.Project) { label = "Anti-Cheat Toolkit", guiHandler = searchContext => { SettingsGUI.OnGUI(); }, keywords = new HashSet <string>(new[] { "focus", "codestage", "Anti", "Cheat", "Toolkit", "Injection", "Hash", "Wall", "Hack", "ACTk" }) }; return(provider); }
public static void PreferencesGUI() { SettingsGUI.OnGUI(); }