예제 #1
0
        public virtual void Start()
        {
            KLVCore.Load();
            var App = ApplicationLauncher.Instance;

            KLVButtonImage = GameDatabase.Instance.GetTexture("KerbalLaunchVehicles/Assets/launcherIcon", false);
            LauncherButton = App.AddModApplication(OnLauncherButtonPress, OnLauncherButtonPress, null, null, null, null, visibleInScenes, KLVButtonImage);
            GUIUtilities.Log("[MOD] KLV window start");
            ActiveCombos = new HashSet <DropDown>();
            MarkedCombos = new Dictionary <klvGUI.DropDown, bool>();
            CreateControls();
        }
예제 #2
0
 private void DoLoad(GUIButton sender, object value)
 {
     KLVCore.Load();
     UpdateFamilies();
     comboDestination.SetItems(KLVCore.GetAllDestinationName());
 }