namespace

This commit is contained in:
naninunenoy 2020-10-09 01:25:05 +09:00
parent 686e82ac39
commit b15998bb09

View File

@ -6,8 +6,10 @@ using UnityEditor;
/// This editor utility can lock/unlock unity script compile from menu item. /// This editor utility can lock/unlock unity script compile from menu item.
/// See more https://raspberly.hateblo.jp/entry/InvalidateUnityCompile /// See more https://raspberly.hateblo.jp/entry/InvalidateUnityCompile
/// </summary> /// </summary>
public static class CompileLocker { namespace AsmdefHelper.CompileLocker.Editor {
public static class CompileLocker {
const string menuPath = "Window/Asmdef Helper/Compile Lock"; const string menuPath = "Window/Asmdef Helper/Compile Lock";
[MenuItem("Window/Asmdef Helper/Compile Lock", false, 1)] [MenuItem("Window/Asmdef Helper/Compile Lock", false, 1)]
static void Lock() { static void Lock() {
var isLocked = Menu.GetChecked(menuPath); var isLocked = Menu.GetChecked(menuPath);
@ -21,4 +23,5 @@ public static class CompileLocker {
Menu.SetChecked(menuPath, true); Menu.SetChecked(menuPath, true);
} }
} }
}
} }