open settings menu button

This commit is contained in:
2016-09-16 04:36:47 +07:00
parent 78758786e6
commit 6474828774
2 changed files with 7 additions and 1 deletions

View File

@@ -84,6 +84,12 @@ namespace FlashTools.Internal {
//
// ---------------------------------------------------------------------
[MenuItem("Tools/FlashTools/Open settings...")]
static void Tools_FlashTools_OpenSettings() {
var settings_holder = SwfSettings.GetHolder();
Selection.objects = new Object[]{settings_holder};
}
[MenuItem("Tools/FlashTools/Reimport all swf files")]
static void Tools_FlashTools_ReimportAllSwfFiles() {
var swf_paths = GetAllSwfFilePaths();

View File

@@ -4,7 +4,7 @@ using UnityEditor;
using System.Linq;
using System.Collections.Generic;
namespace FlashTools.Internal.SwfEditorTools {
namespace FlashTools.Internal {
//
// SwfIntRange