ShortDSMenuItems.cs
Code: Select all
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace PixelCrushers.DialogueSystem.DialogueEditor
{
public static class ShortDSMenuItems
{
[MenuItem("Tools/Pixel Crushers/Dialogue System/Variable Viewer", false, 99)]
public static void OpenVariableViewWindow() { VariableViewWindow.OpenVariableViewWindow(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Asset Renamer", false, 99)]
public static void OpenAssetRenamer() { DialogueSystemAssetRenamerWindow.Open(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Localization Tools", false, 99)]
public static void OpenLocalizationToolsWindow() { LocalizationToolsWindow.Init(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Unique ID Tool", false, 99)]
public static void OpenUniqueIDWindow() { UniqueIDWindow.OpenUniqueIDWindow(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Camera Angle Editor", false, 99)]
public static void OpenCameraAngleEditor() { CameraAngleEditor.Init(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Clear Saved Localization Settings", false, 99)]
public static void ClearSavedLocalizationSettings() { UpdateLocalizedUITexts.ClearSavedLocalizationSettings(); }
[MenuItem("Tools/Pixel Crushers/Dialogue System/Clear Quest Tracker PlayerPrefs Key", false, 100)]
public static void ClearQuestTrackerPlayerPrefsKeys() { DialogueSystemMenuItems.ClearQuestTrackerPlayerPrefsKeys(); }
}
}