三国卡牌客户端基础资源仓库
yyl
2026-03-28 25eb0e50d4e815efb16d1a9953beac6ea1c7cfc3
Assets/Editor/Tool/ExportVersionConfigEx.cs
@@ -1,20 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
using UnityEngine.UI;
using System.Reflection;
public class ExportVersionConfigEx : EditorWindow {
    [MenuItem("程序/同步VersionConfigEx.txt", false)]
    private static void Export()
public class ExportVersionConfigEx : EditorWindow {
    [MenuItem("程序/同步VersionConfigEx.txt", false)]
    private static async void Export()
    {
        //生成VersionConfigEx.txt 提供给AOT启动时使用
        var json = JsonUtility.ToJson(VersionConfig.Get());
        await VersionConfig.GetAsync();
        var json = JsonUtility.ToJson(VersionConfig.config);
        string versionConfigExFile = Application.dataPath + "/Resources/VersionConfigEx.txt";
        if (File.Exists(versionConfigExFile))
        {
@@ -25,7 +26,7 @@
        AssetDatabase.Refresh();
        Debug.Log("同步VersionConfigEx.txt成功");
    }
}
    }
}