public void Show(CivilBuildingData toShow) { this.ShowGeneralInfo(toShow); this.m_civilBuildingInfo.SetActive(true); this.m_productionInfo.SetActive(false); this.m_peasantIcon.sprite = toShow.Icon; this.m_maxInhabitantsInfo.text = $"{toShow.MaxInhibitants}"; }
public void ShowBuildingToolTip(CivilBuildingData toShow) { this.m_buildingTooltip.Show(toShow); }