示例#1
0
 public static void Init(NormalHGData normalHGData)
 {
     _normalHGData = normalHGData;
     if (_normalHGData != null)
     {
         List <EvidenceConfig> values = _normalHGData.value;
         if (values != null)
         {
             int l = values.Count;
             _configCache = new Dictionary <string, EvidenceConfig>();
             for (int i = 0; i < l; i++)
             {
                 _configCache.Add(values[i].exhibitID, values[i]);
             }
         }
     }
 }
示例#2
0
 public static void Dispose()
 {
     _configCache.Clear();
     _normalHGData = null;
 }