| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Saturday, January 06, 2018 |
| | | // [ Date ]: Tuesday, February 12, 2019 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | |
| | | public partial class TASKINFOConfig : ConfigBase { |
| | | |
| | | public string code { get ; private set; } |
| | | public string show_writing { get ; private set; } |
| | | public string code; |
| | | public string show_writing; |
| | | |
| | | public override string getKey() |
| | | { |
| | | return code.ToString(); |
| | | } |
| | | |
| | | public override void Parse() { |
| | | public override void Parse(string content) { |
| | | try |
| | | { |
| | | code = rawContents[0].Trim(); |
| | | var contents = content.Split('\t'); |
| | | |
| | | code = contents[0]; |
| | | |
| | | show_writing = rawContents[1].Trim(); |
| | | show_writing = contents[1]; |
| | | } |
| | | catch (Exception ex) |
| | | { |