From 305af376c5d3bf5291614764e604e24fc3f06987 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Fri, 6 Sep 2019 19:25:29 +0200 Subject: [PATCH] Added link to documentation in preferences --- Scripts/Editor/NodeEditorPreferences.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/Editor/NodeEditorPreferences.cs b/Scripts/Editor/NodeEditorPreferences.cs index 9e9bb64..b3026b9 100644 --- a/Scripts/Editor/NodeEditorPreferences.cs +++ b/Scripts/Editor/NodeEditorPreferences.cs @@ -106,6 +106,9 @@ namespace XNodeEditor { private static void PreferencesGUI() { VerifyLoaded(); Settings settings = NodeEditorPreferences.settings[lastKey]; + + if (GUILayout.Button(new GUIContent("Documentation", "https://github.com/Siccity/xNode/wiki"), GUILayout.Width(100))) Application.OpenURL("https://github.com/Siccity/xNode/wiki"); + EditorGUILayout.Space(); NodeSettingsGUI(lastKey, settings); GridSettingsGUI(lastKey, settings);