예제 #1
0
    public void Start()
    {
        windowStyle = new GUIStyle(HighLogic.Skin.window);
        windowStyle.stretchHeight = true;
        windowStyle.stretchWidth  = true;

        windowPosition = KSPScienceSettings.getRectSetting("MonitorRect");
    }
예제 #2
0
    public void Start()
    {
        windowStyle = new GUIStyle(HighLogic.Skin.window);
        windowStyle.stretchHeight = true;
        windowStyle.stretchWidth  = true;

        drawWindow          = false;
        selectedBody        = "All";
        selectedExperiments = dataOutputList;

        System.Version ver = Assembly.GetAssembly(typeof(KSPScienceLibrary)).GetName().Version;
        version = "Version " + ver.Major + "." + ver.Minor + "   Build " + ver.Build + "." + ver.Revision;

        windowPosition = KSPScienceSettings.getRectSetting("LibraryRect");
    }