public static ConfigEntryUtill <T> Create() { if (customFile == null) { Debug.LogError("customFile is null!"); return(null); } if (!SectionList.ContainsKey(sectionMain)) { return(new ConfigEntryUtill <T>()); } else { return(SectionList[sectionMain]); } }
public static ConfigEntryUtill Create(string section) { if (customFile == null) { Debug.LogError("customFile is null!"); return(null); } //MyLog.LogDebug("ConfigEntryUtill.Create", section); if (!SectionList.ContainsKey(section)) { return(new ConfigEntryUtill(section)); } else { return(SectionList[section]); } }
public static ConfigEntryUtill Create(string section, params string[] keys) { if (customFile == null) { Debug.LogError("customFile is null!"); return(null); } //MyLog.LogDebug("ConfigEntryUtill.Create", section, keys.Length); if (!SectionList.ContainsKey(section)) { return(new ConfigEntryUtill(section, keys)); } else { SectionList[section].Add(keys.ToList()); return(SectionList[section]); } }