增加HelpDoc帮助文档跳转

This commit is contained in:
monitor1394
2023-06-04 21:52:23 +08:00
parent 0f83a70b54
commit 86e66984d4
15 changed files with 25 additions and 9 deletions

View File

@@ -82,8 +82,9 @@ namespace XCharts.Editor
title,
editor.baseProperty,
editor.showProperty,
() => { ResetComponentEditor(id); },
() => { RemoveComponentEditor(id); }
() => { if (EditorUtility.DisplayDialog("", "Sure reset " + editor.component.GetType().Name + "?", "Yes", "Cancel")) ResetComponentEditor(id); },
() => { if (EditorUtility.DisplayDialog("", "Sure remove " + editor.component.GetType().Name + "?", "Yes", "Cancel")) RemoveComponentEditor(id); },
() => { Application.OpenURL("https://xcharts-team.github.io/docs/configuration/#" + editor.component.GetType().Name.ToLower()); }
);
if (displayContent)
{