Пример #1
0
 internal void OpenAt(ServiceSystemDefinition ssd)
 {
     m_StripMain.selectedIndex = 0;
     if (ssd != null)
     {
         var catIdx = SVMConfigWarehouse.getCategory(ssd.toConfigIndex());
         m_StripBuilings.selectedIndex = (int)catIdx;
         m_StripBuilingsStrips[catIdx].selectedIndex = m_StripBuilingsStrips[catIdx].Find <UIComponent>(ssd.GetDefType().Name)?.zOrder ?? 0;
     }
     ServiceVehiclesManagerMod.instance.controller.OpenSVMPanel();
 }