少年修仙传客户端基础资源
client_Wu Xijin
2019-01-16 d53a782e2fd91ffc47dad0dd5a080ee451a351b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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;
    }
}