26 lines
658 B
C#
26 lines
658 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace NBC.Asset.Editor
|
|
{
|
|
public static class Menus
|
|
{
|
|
[MenuItem(Language.MenuDownloadPath)]
|
|
public static void ViewDownload()
|
|
{
|
|
EditorUtility.OpenWithDefaultApp(Const.SavePath);
|
|
}
|
|
|
|
[MenuItem(Language.MenuBuildPath)]
|
|
public static void ViewBuild()
|
|
{
|
|
EditorUtility.OpenWithDefaultApp(BuildSettings.PlatformPath);
|
|
}
|
|
|
|
[MenuItem(Language.MenuCachePath)]
|
|
public static void ViewCache()
|
|
{
|
|
EditorUtility.OpenWithDefaultApp(Application.persistentDataPath);
|
|
}
|
|
}
|
|
} |