private void BuildTags() { this.TagsList.Clear(); this.TagsList.AddRange(AgeLocalizer.Instance.LocalizeString(DepartmentOfScience.GetTechnologyTitle(this.TechnologyDefinition)).ToUpper().Split(new char[] { ' ' })); this.TagsList.Add(AgeLocalizer.Instance.LocalizeString(DepartmentOfScience.GetCategoryTitle(this.TechnologyDefinition)).ToUpper()); this.TagsList.Add(AgeLocalizer.Instance.LocalizeString(DepartmentOfScience.GetSubCategoryTitle(this.TechnologyDefinition)).ToUpper()); List <ConstructibleElement> unlocksByTechnology = this.TechnologyDefinition.GetUnlocksByTechnology(); if (unlocksByTechnology != null && unlocksByTechnology.Count > 1) { for (int i = 0; i < unlocksByTechnology.Count; i++) { IGuiPanelHelper guiPanelHelper = Services.GetService <global::IGuiService>().GuiPanelHelper; GuiElement guiElement; if (guiPanelHelper.TryGetGuiElement(unlocksByTechnology[i].Name, out guiElement)) { this.TagsList.AddRange(AgeLocalizer.Instance.LocalizeString(guiElement.Title).ToUpper().Split(new char[] { ' ' })); } } } }