//-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Friday, January 18, 2019 //-------------------------------------------------------- using UnityEngine; using System; namespace TableConfig { public partial class SceneReplaceConfig : ConfigBase { public int id { get ; private set ; } public string objectPath { get ; private set; } public string folder { get ; private set; } public string resourceName { get ; private set; } public override string getKey() { return id.ToString(); } public override void Parse() { try { id=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; objectPath = rawContents[1].Trim(); folder = rawContents[2].Trim(); resourceName = rawContents[3].Trim(); } catch (Exception ex) { DebugEx.Log(ex); } } } }