From ba47fbd54967c4045afb15622a119adb362d8029 Mon Sep 17 00:00:00 2001 From: Icarus <1375400884@qq.com> Date: Sun, 22 Sep 2019 01:50:44 +0800 Subject: [PATCH] =?UTF-8?q?!W=20=E5=8A=A0=E5=85=A5=E4=BA=86IcSkillSystme?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/Editor/NodeEditorPreferences.cs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Scripts/Editor/NodeEditorPreferences.cs b/Scripts/Editor/NodeEditorPreferences.cs index b3026b9..1bba650 100644 --- a/Scripts/Editor/NodeEditorPreferences.cs +++ b/Scripts/Editor/NodeEditorPreferences.cs @@ -106,8 +106,24 @@ namespace XNodeEditor { private static void PreferencesGUI() { VerifyLoaded(); Settings settings = NodeEditorPreferences.settings[lastKey]; + + EditorGUILayout.BeginHorizontal(); + { + EditorGUILayout.Space(); + { + if (GUILayout.Button(new GUIContent("XNode Documentation", "https://github.com/Siccity/xNode/wiki"), + GUILayout.Width(180))) + Application.OpenURL("https://github.com/Siccity/xNode/wiki"); + + if (GUILayout.Button( + new GUIContent("IcSkill Documentation", "https://github.com/yika-aixi/IcSkillSystem"), + GUILayout.Width(180))) + Application.OpenURL("https://github.com/yika-aixi/IcSkillSystem"); + } + EditorGUILayout.Space(); + } + EditorGUILayout.EndHorizontal(); - 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);