private void MainWindow(int id) { GUILayout.BeginVertical(); string transmitterName = ""; if (targetPid != "" && listShipTransmitter.ContainsKey(targetPid)) { transmitterName = listShipTransmitter [targetPid] ["name"]; } GUILayout.Label(Localizer.Format("#autoLOC_AH_0050", new string[] { transmitterName })); GUILayout.Label(Localizer.Format("#autoLOC_AH_0051", new string[] { AHUtil.FormatCircleSelect(circleTypeSelected) })); GUILayout.Space(3f); if (GUILayout.Button(Localizer.Format("#autoLOC_AH_0045"))) { circleTypeSelected = GUICircleSelection.ACTIVE; ShowCircles(); } if (GUILayout.Button(Localizer.Format("#autoLOC_AH_0046"))) { circleTypeSelected = GUICircleSelection.DSN; ShowCircles(); } if (GUILayout.Button(Localizer.Format("#autoLOC_AH_0048"))) { circleTypeSelected = GUICircleSelection.RELAY; ShowCircles(); } if (GUILayout.Button(Localizer.Format("#autoLOC_AH_0047"))) { circleTypeSelected = GUICircleSelection.DSN_AND_RELAY; ShowCircles(); } GUILayout.Space(10f); if (GUILayout.Button(Localizer.Format("#autoLOC_AH_0044"))) { editorShipWindowOn = !editorShipWindowOn; } GUILayout.EndVertical(); GUI.DragWindow(); }