| | |
| | | using System.Text; |
| | | using System; |
| | | using System.Text.RegularExpressions; |
| | | using TableConfig; |
| | | |
| | | |
| | | public class ExcelParseTool : EditorWindow |
| | | { |
| | |
| | | if (GUILayout.Button("解析")) |
| | | { |
| | | m_Englishs.Clear(); |
| | | Config.Instance.SyncLoadConfigs(); |
| | | ConfigInitiator.EditorLoad(); |
| | | m_FitterKeys.Clear(); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<LanguageConfig>()); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<SysInfoConfig>()); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<IconConfig>()); |
| | | m_FitterKeys.AddRange(LanguageConfig.GetKeys()); |
| | | m_FitterKeys.AddRange(SysInfoConfig.GetKeys()); |
| | | m_FitterKeys.AddRange(IconConfig.GetKeys()); |
| | | FindEnglishLabel(); |
| | | } |
| | | |
| | |
| | | { |
| | | DebugEx.LogError(e.ToString()); |
| | | } |
| | | Config.Instance.SyncLoadConfigs(); |
| | | ConfigInitiator.EditorLoad(); |
| | | m_FitterKeys.Clear(); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<LanguageConfig>()); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<SysInfoConfig>()); |
| | | m_FitterKeys.AddRange(Config.Instance.GetAllKeys<IconConfig>()); |
| | | m_FitterKeys.AddRange(LanguageConfig.GetKeys()); |
| | | m_FitterKeys.AddRange(SysInfoConfig.GetKeys()); |
| | | m_FitterKeys.AddRange(IconConfig.GetKeys()); |
| | | FindEnglishLabel(true); |
| | | } |
| | | } |