|  |  | 
 |  |  | //-------------------------------------------------------- | 
 |  |  | //    [Author]:           YYL | 
 |  |  | //    [  Date ]:           2025年5月22日 | 
 |  |  | //-------------------------------------------------------- | 
 |  |  |  | 
 |  |  | using System.Collections.Generic; | 
 |  |  | using System.IO; | 
 |  |  | using System.Threading; | 
 |  |  | using System; | 
 |  |  | using UnityEngine; | 
 |  |  | using LitJson; | 
 |  |  |  | 
 |  |  | public partial class InitialFunctionConfig : ConfigBase<string, InitialFunctionConfig> | 
 |  |  | { | 
 |  |  |  | 
 |  |  |     public string KEY; | 
 |  |  |    public string Numerical1; | 
 |  |  |    public string Numerical2; | 
 |  |  |    public string Numerical3; | 
 |  |  |    public string Numerical4; | 
 |  |  |    public string Numerical5; | 
 |  |  |  | 
 |  |  |     public override string LoadKey(string _key) | 
 |  |  |     { | 
 |  |  |         string key = GetKey(_key); | 
 |  |  |         return key; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public override void LoadConfig(string input) | 
 |  |  |     { | 
 |  |  |         try { | 
 |  |  |         string[] tables = input.Split('\t'); | 
 |  |  |         KEY = tables[0]; | 
 |  |  |  | 
 |  |  |          Numerical1 = tables[1]; | 
 |  |  |  | 
 |  |  |          Numerical2 = tables[2]; | 
 |  |  |  | 
 |  |  |          Numerical3 = tables[3]; | 
 |  |  |  | 
 |  |  |          Numerical4 = tables[4]; | 
 |  |  |  | 
 |  |  |          Numerical5 = tables[5]; | 
 |  |  |         } | 
 |  |  |         catch (Exception exception) | 
 |  |  |         { | 
 |  |  |             Debug.LogError(exception); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | } | 
 |  |  | //--------------------------------------------------------
 | 
 |  |  | //    [Author]:           YYL
 | 
 |  |  | //    [  Date ]:           2025年8月5日
 | 
 |  |  | //--------------------------------------------------------
 | 
 |  |  | 
 | 
 |  |  | using System.Collections.Generic;
 | 
 |  |  | using System;
 | 
 |  |  | using UnityEngine;
 | 
 |  |  | using LitJson;
 | 
 |  |  | 
 | 
 |  |  | public partial class InitialFunctionConfig : ConfigBase<string, InitialFunctionConfig>
 | 
 |  |  | {
 | 
 |  |  |     static InitialFunctionConfig()
 | 
 |  |  |     {
 | 
 |  |  |         // 访问过静态构造函数
 | 
 |  |  |         visit = true;  | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     public string KEY;
 | 
 |  |  |    public string Numerical1;
 | 
 |  |  |    public string Numerical2;
 | 
 |  |  |    public string Numerical3;
 | 
 |  |  |    public string Numerical4;
 | 
 |  |  |    public string Numerical5;
 | 
 |  |  | 
 | 
 |  |  |     public override string LoadKey(string _key)
 | 
 |  |  |     {
 | 
 |  |  |         string key = GetKey(_key);
 | 
 |  |  |         return key;
 | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     public override void LoadConfig(string input)
 | 
 |  |  |     {
 | 
 |  |  |         try {
 | 
 |  |  |         string[] tables = input.Split('\t');
 | 
 |  |  |         KEY = tables[0];
 | 
 |  |  | 
 | 
 |  |  |          Numerical1 = tables[1];
 | 
 |  |  | 
 | 
 |  |  |          Numerical2 = tables[2];
 | 
 |  |  | 
 | 
 |  |  |          Numerical3 = tables[3];
 | 
 |  |  | 
 | 
 |  |  |          Numerical4 = tables[4];
 | 
 |  |  | 
 | 
 |  |  |          Numerical5 = tables[5];
 | 
 |  |  |         }
 | 
 |  |  |         catch (Exception exception)
 | 
 |  |  |         {
 | 
 |  |  |             Debug.LogError(exception);
 | 
 |  |  |         }
 | 
 |  |  |     }
 | 
 |  |  | }
 |