protected static void ExportReferenceDocs() { const string path = "./Docs"; ExportCommandInfo(path); ExportEventHandlerInfo(path); FlowchartWindow.ShowNotification("Exported Reference Documentation"); }
internal static void ConvertAllToGHMD() { var files = Directory.GetFiles(BaseDocPath, "*.md", SearchOption.AllDirectories); foreach (var file in files) { ConvertFileToGHMD(file); } FlowchartWindow.ShowNotification("Converted " + files.Length.ToString() + " to Github MD"); }
protected static void ExportReferenceDocs() { string path = EditorUtility.SaveFolderPanel("Export Reference Docs", "", ""); if (path.Length == 0) { return; } ExportCommandInfo(path); ExportEventHandlerInfo(path); FlowchartWindow.ShowNotification("Exported Reference Documentation"); }
public override void OnInspectorGUI() { if (GUILayout.Button(new GUIContent("Delete Save Data", "Deletes the save data associated with the Save Data Key from PlayerPrefs"))) { var saveMenu = target as SaveMenu; if (saveMenu != null) { PlayerPrefs.DeleteKey(saveMenu.SaveDataKey); FlowchartWindow.ShowNotification("Deleted Save Data"); } } base.OnInspectorGUI(); }
protected virtual void ShowNotification(Localization localization) { FlowchartWindow.ShowNotification(localization.NotificationText); localization.NotificationText = ""; }