Open Preferences Tab with code.

Hello everyone,

So I found a solution to opening preferences with code but is there a way I could get it to focus on a certain tab inside my preferences.

I.e - I want it to open preferences but instead open opening on General it opens on External Tools.

Here is the code for opening Preferences:

    public static void Preferences()
    {
        var asm = Assembly.GetAssembly(typeof(EditorWindow));
        var T = asm.GetType("UnityEditor.PreferencesWindow");
        var M = T.GetMethod("ShowPreferencesWindow", BindingFlags.NonPublic | BindingFlags.Static);
        M.Invoke(null, null);
    }

If someone can help me solve this It would be greatly appreciated!

Kind Regards,
Scott

Bump!