internal override void Start() { DragEnabled = true; WindowRect.Set((Screen.width - WindowWidth) / 4, (Screen.height - WindowHeight) / 2, WindowWidth, WindowHeight); WindowCaption = "Extensive Engineer Report"; OnAppLauncherReady(); }
internal override void Start() { DragEnabled = true; WindowRect.Set((Screen.width - WindowWidth) / 4, (Screen.height - WindowHeight) / 2, WindowWidth, WindowHeight); WindowCaption = nameof(ShipSections); if (ApplicationLauncher.Instance != null && ApplicationLauncher.Ready) { OnAppLauncherReady(); } else { GameEvents.onGUIApplicationLauncherReady.Add(OnAppLauncherReady); } }
protected override void Awake() { ClampToScreenOffset = AppLauncher.instance.DefaultOffset; WindowRect.Set(AppLauncher.instance.ScreenPosition.x, AppLauncher.instance.ScreenPosition.y, WINDOW_WIDTH, WINDOW_HEIGHT); WindowCaption = WINDOW_TITLE; }