fixes, improvements. firebase
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.IO;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Darkmatter.Libs.UnityUtils.Editor
|
||||
{
|
||||
public static class OpenEditorGalleryMenu
|
||||
{
|
||||
private const string MenuPath = "Tools/Colorbook/Open Editor Gallery";
|
||||
|
||||
[MenuItem(MenuPath)]
|
||||
private static void Open()
|
||||
{
|
||||
var dir = Path.Combine(Application.persistentDataPath, "Colorbook-Gallery");
|
||||
Directory.CreateDirectory(dir);
|
||||
EditorUtility.RevealInFinder(dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 55aad6d59cbf04999877c8c4b2f55836
|
||||
Reference in New Issue
Block a user