Example #1
0
 private void OnChangePostalCodePrefixDistrict(string val)
 {
     if (int.TryParse(val, out int intval))
     {
         GetDistrictConfig().ZipcodePrefix = intval;
         AdrEvents.TriggerRoadNamingChange();
     }
 }
Example #2
0
 private void OnChangeSelectedRoadName(int idx)
 {
     GetDistrictConfig().RoadConfig.NamesFile = idx > 0 ? m_roadNameFile.selectedValue : null;
     SegmentUtils.UpdateSegmentNamesView();
     AdrEvents.TriggerRoadNamingChange();
 }