yyl
2025-07-29 6577831ab2883bd05448ce0b1f9f913a9944fc78
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
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年7月11日
//--------------------------------------------------------
 
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System;
using UnityEngine;
using LitJson;
 
public partial class SkillConfig : ConfigBase<int, SkillConfig>
{
    public SkillType skillType;
    public SkillCastMode castMode;
 
    public SkillEffectType effectType;
 
    protected override void OnConfigParseCompleted()
    {
        base.OnConfigParseCompleted();
 
        skillType = (SkillType)SkillType;
        castMode = (SkillCastMode)CastPosition;
        effectType = (SkillEffectType)EffectType;
    }
 
    public MotionName GetMotionName()
    {
        return Enum.Parse<MotionName>(SkillMotionName);
    }
}