Exemplo n.º 1
0
 public void PadSelection()
 {
     if (site_list == null)
     {
         GUILayout.BeginHorizontal();
         if (control.state == ELBuildControl.State.Complete)
         {
             GUILayout.Label("No sites found. Explosions likely.",
                             ELStyles.red);
         }
         else
         {
             GUILayout.Label("No sites found.");
         }
         GUILayout.EndHorizontal();
     }
     else
     {
         GUILayout.BeginHorizontal();
         site_list.DrawButton();
         SetSite(available_sites[site_list.SelectedIndex]);
         RenameSite();
         GUILayout.EndHorizontal();
     }
 }
 void SelectPad()
 {
     GUILayout.BeginHorizontal();
     pad_list.DrawButton();
     highlight_pad = GUILayout.Toggle(highlight_pad, "Highlight Pad");
     Select_Pad(launchpads[pad_list.SelectedIndex]);
     GUILayout.EndHorizontal();
     control.builder.PadSelection();
 }