using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEditor;
|
using System;
|
using Snxxz.UI;
|
|
public static class FuncOpenTool
|
{
|
[MenuItem("策划工具/功能开启/开发模式")]
|
public static void Development()
|
{
|
FuncOpen.development = true;
|
if (FuncOpen.FuncOpenModeChangeEvent != null)
|
{
|
FuncOpen.FuncOpenModeChangeEvent();
|
}
|
}
|
|
[MenuItem("策划工具/功能开启/开发模式", true)]
|
private static bool DevelopmentValid()
|
{
|
return !FuncOpen.development;
|
}
|
|
[MenuItem("策划工具/功能开启/正常模式")]
|
public static void Normal()
|
{
|
FuncOpen.development = false;
|
if (FuncOpen.FuncOpenModeChangeEvent != null)
|
{
|
FuncOpen.FuncOpenModeChangeEvent();
|
}
|
}
|
|
[MenuItem("策划工具/功能开启/正常模式", true)]
|
private static bool NormalValid()
|
{
|
return FuncOpen.development;
|
}
|
}
|