yyl
15 小时以前 30ba2ef747ced774bef177d5273cb5a3429cff49
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           Friday, June 27, 2025
//--------------------------------------------------------
 
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System;
using UnityEngine;
using LitJson;
 
public partial class PriorLanguageConfig : ConfigBase<int, PriorLanguageConfig>
{
 
    public int Key;
    public string Content;
 
    public override int LoadKey(string _key)
    {
        int key = GetKey(_key);
        return key;
    }
 
    public override void LoadConfig(string input)
    {
        try {
        string[] tables = input.Split('\t');
        int.TryParse(tables[0],out Key); 
 
            Content = tables[1];
        }
        catch (Exception exception)
        {
            Debug.LogError(exception);
        }
    }
}