首次提交
This commit is contained in:
26
Assets/Scripts/NBC/Asset/Editor/Menus.cs
Normal file
26
Assets/Scripts/NBC/Asset/Editor/Menus.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user