//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, January 22, 2019
|
//--------------------------------------------------------
|
|
using UnityEngine;
|
using System;
|
|
namespace TableConfig {
|
|
|
public partial class SkillFrameAnimationConfig : ConfigBase {
|
|
public int skillTypeId { get ; private set ; }
|
public int totalTime { get ; private set ; }
|
public string[] spriteKeys;
|
public string descriptionIcon { get ; private set; }
|
|
public override string getKey()
|
{
|
return skillTypeId.ToString();
|
}
|
|
public override void Parse() {
|
try
|
{
|
skillTypeId=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0;
|
|
totalTime=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0;
|
|
spriteKeys = rawContents[2].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
|
descriptionIcon = rawContents[3].Trim();
|
}
|
catch (Exception ex)
|
{
|
DebugEx.Log(ex);
|
}
|
}
|
|
}
|
|
}
|