protected override void Awake() { WindowCaption = "S.C.A.N. Planetary Mapping"; WindowRect = sessionRect; WindowOptions = new GUILayoutOption[2] { GUILayout.Width(380), GUILayout.Height(230) }; WindowStyle = SCANskins.SCAN_window; Visible = false; DragEnabled = true; TooltipMouseOffset = new Vector2d(-10, -25); ClampToScreenOffset = new RectOffset(-300, -300, -200, -200); SCAN_SkinsLibrary.SetCurrent("SCAN_Unity"); SCAN_SkinsLibrary.SetCurrentTooltip(); }
protected override void Awake() { WindowCaption = "Map of "; WindowRect = defaultRect; WindowSize_Min = new Vector2(550, 225); WindowOptions = new GUILayoutOption[2] { GUILayout.Width(600), GUILayout.Height(300) }; WindowStyle = SCANskins.SCAN_window; Visible = false; DragEnabled = true; ClampEnabled = false; TooltipMouseOffset = new Vector2d(-10, -25); SCAN_SkinsLibrary.SetCurrent("SCAN_Unity"); SCAN_SkinsLibrary.SetCurrentTooltip(); }
protected override void Awake() { WindowCaption = "Map of "; WindowRect = sessionRect; WindowOptions = new GUILayoutOption[2] { GUILayout.Width(740), GUILayout.Height(420) }; WindowStyle = SCANskins.SCAN_window; Visible = false; DragEnabled = true; TooltipMouseOffset = new Vector2d(-10, -25); ClampToScreenOffset = new RectOffset(-600, -600, -400, -400); waypoints = HighLogic.LoadedScene != GameScenes.SPACECENTER; SCAN_SkinsLibrary.SetCurrent("SCAN_Unity"); SCAN_SkinsLibrary.SetCurrentTooltip(); removeControlLocks(); }
protected override void Awake() { WindowRect = sessionRect; WindowSize_Min = new Vector2(310, 180); WindowSize_Max = new Vector2(540, 400); WindowOptions = new GUILayoutOption[2] { GUILayout.Width(340), GUILayout.Height(240) }; WindowStyle = SCANskins.SCAN_window; showInfo = true; Visible = false; DragEnabled = true; ClampEnabled = true; TooltipMouseOffset = new Vector2d(-10, -25); ClampToScreenOffset = new RectOffset(-200, -200, -160, -160); SCAN_SkinsLibrary.SetCurrent("SCAN_Unity"); SCAN_SkinsLibrary.SetCurrentTooltip(); removeControlLocks(); Startup(); }