public static void Menu_CleanGamePackets()
    {
        //创建窗口
        Rect            wr     = new Rect(0, 0, 300, 100);
        PacketResources window = (PacketResources)EditorWindow.GetWindowWithRect(typeof(PacketResources), wr, true, "打包资源");

        SingleOrAll = true;
        window.Show();
    }
    public static void MakeResPack()
    {
        UnityEngine.Object[] seldObjs = Selection.GetFiltered <UnityEngine.Object>(SelectionMode.Assets);
        if (seldObjs != null && seldObjs.Length > 0)
        {
            foreach (UnityEngine.Object seldObj in seldObjs)
            {
                string path = AssetDatabase.GetAssetPath(seldObj);
                path = Application.dataPath.Substring(0, Application.dataPath.Length - 6) + path;
                Debug.Log(path);
                m_SelectFiles.Add(path);
            }
        }
        //创建窗口
        Rect            wr     = new Rect(0, 0, 300, 100);
        PacketResources window = (PacketResources)EditorWindow.GetWindowWithRect(typeof(PacketResources), wr, true, "打包单个资源");

        SingleOrAll = false;
        window.Show();
    }