protected static void ExportReferenceDocs() { const string path = "./Docs"; 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 = ""; }