yyl
2025-05-19 b118ece3db250a5a257b60713da92234d8d5a57a
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
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年5月19日
//--------------------------------------------------------
 
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System;
using UnityEngine;
using LitJson;
 
public partial class RuleConfig : ConfigBase<int, RuleConfig>
{
 
    public int ID;
    public string Title;
    public string Description;
 
    public override int LoadKey(string _key)
    {
        int key = GetKey(_key);
        return key;
    }
 
    public override void LoadConfig(string input)
    {
        string[] tables = input.Split('\t');
        int.TryParse(tables[0],out ID); 
 
            Title = tables[1];
 
            Description = tables[2];
    }
}