yyl
2025-05-20 9ff4940cfe2074ca24aca15c25b5053bd658dfa8
Main/Config/ConfigBase.cs
@@ -1,12 +1,15 @@
using System.Collections.Generic;
using UnityEngine;
using Cysharp.Threading.Tasks;
using System.IO;
using System;
public class ConfigBase<U, T> where T : ConfigBase<U, T>, new()
{
    public static Dictionary<U, T> dic = new Dictionary<U, T>();
    protected static bool isInit = false;
    public static bool isInit = false;
    public static T Get(U id)
    {
@@ -134,7 +137,7 @@
        }
        else
        {
            Debug.LogError("GetKey 类型错误");
            Debug.LogError("GetKey 意外的key类型 类型错误 " + typeof(U).Name);
            return default(U);
        }
    }