using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector.Editor;
using UnityEditor;
using Sirenix.Utilities.Editor;
using Sirenix.Utilities;

namespace Thousandto.DaleSpeace
{
    public class BaleTools : OdinMenuEditorWindow
    {


        [MenuItem("PackageTool/BaleTool &b")]
        private static void OpenWindow()
        {
            var window = GetWindow<BaleTools>();
            window.position = GUIHelper.GetEditorWindowRect().AlignCenter(800, 600);
        }




        protected override OdinMenuTree BuildMenuTree()
        {
            var tree = new OdinMenuTree(this);

            var Dll = new PackDll();
            var Res = new PackRes();
            var Config = new GuideTable();

            tree.AddObjectAtPath("打包DLL", Dll);
            tree.AddObjectAtPath("打包游戏资源", Res);
            tree.AddObjectAtPath("导表", Config);


            return tree;
        }

    }

    public enum LanType
    {
        CH,
        TH,
        VIE,
        EN,
        TW,
        JP,
        KR,
    }
}