public static Dictionary <int, KVData> GetKVTemplateData(string editorType) { switch (editorType) { case "skill": return(ActiveSkillDataTemplate.GetTemplateData()); break; case "item": return(ItemDataTemplate.GetTemplateData()); break; case "task": return(TaskDataTemplate.GetTemplateData()); break; } return(null); }