//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, November 15, 2018 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class LoadingBackGroundConfig : ConfigBase { public int id { get ; private set ; } public string[] icons; public string levelLimit { get ; private set; } public string name { get ; private set; } public string description { get ; private set; } public override string getKey() { return id.ToString(); } public override void Parse() { try { id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; icons = rawContents[1].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); levelLimit = rawContents[2].Trim(); name = rawContents[3].Trim(); description = rawContents[4].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }