private static string CreateDynamicData(string path, bool isClass) { TextAsset textAsset = Resources.Load <TextAsset>(path); TemplateSystem template = new TemplateSystem(textAsset.text); if (isClass) { for (int i = 0; i < ItemCreatorWindow.items.Count; i++) { template.AddVariable(PrepareClassTemplate()); } } return(template.ParseData(isClass)); }