diff --git a/Assets/Mirage/Editor/WelcomeWindow/Resources/WelcomeWindow.uxml b/Assets/Mirage/Editor/WelcomeWindow/Resources/WelcomeWindow.uxml
index faccc72ad35..4e4f34b2a8e 100644
--- a/Assets/Mirage/Editor/WelcomeWindow/Resources/WelcomeWindow.uxml
+++ b/Assets/Mirage/Editor/WelcomeWindow/Resources/WelcomeWindow.uxml
@@ -66,6 +66,9 @@
+
+
+
diff --git a/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs b/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs
index a424f0972c8..22351d77854 100644
--- a/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs
+++ b/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Mirage.Logging;
@@ -10,7 +9,6 @@
using UnityEditor.PackageManager.Requests;
using UnityEngine;
using UnityEngine.UIElements;
-using PackageInfo = UnityEditor.PackageManager.PackageInfo;
/**
* Docs used:
@@ -105,6 +103,10 @@ private static void ShowWindowOnFirstStart()
EditorApplication.update -= ShowWindowOnFirstStart;
firstStartUpKey = GetVersion();
+ var dontShow = EditorPrefs.GetBool("DontShowToggle", false);
+ if (dontShow)
+ return;
+
if ((!EditorPrefs.GetBool(firstTimeMirageKey, false) || !EditorPrefs.GetBool(firstStartUpKey, false)) && firstStartUpKey != "MirageUnknown")
{
EditorPrefs.SetString(screenToOpenKey, ShowChangeLog ? "ChangeLog" : "Welcome");
@@ -156,6 +158,11 @@ private void OnEnable()
DrawChangeLog(ParseChangeLog());
+ var dontShowToggle = root.Q("DontShowToggle");
+ dontShowToggle.value = EditorPrefs.GetBool("DontShowToggle", false);
+ dontShowToggle.tooltip = "Dont show welcome window after there is an update to Mirage";
+ dontShowToggle.RegisterValueChangedCallback(b => EditorPrefs.SetBool("DontShowToggle", b.newValue));
+
#region Page buttons
ConfigureTab("WelcomeButton", "Welcome", WelcomePageUrl);