Example #1
0
        void OnGUI()
        {
            wantedName = EditorGUILayout.TextField("Airplane Name:", wantedName);
            if (GUILayout.Button("Create new Airplane"))
            {
                IP_Airplane_SetupTools.BuildDefaultAirplane(wantedName);

                IP_AirplaneSetup_Window.GetWindow <IP_AirplaneSetup_Window>().Close();
            }
        }
Example #2
0
 public static void LaunchSetupWindow()
 {
     IP_AirplaneSetup_Window.GetWindow(typeof(IP_AirplaneSetup_Window), true, "Airplane Setup").Show();
 }
Example #3
0
        public static void CreateNewAirplane()
        {
//            IP_Airplane_SetupTools.BuildDefaultAirplane("New Airplane");
            IP_AirplaneSetup_Window.LaunchSetupWindow();
        }