From c056f9eff6b0b81dc3b84b1d3a14e08e48e2e49e Mon Sep 17 00:00:00 2001 From: James Frowen Date: Sat, 31 Aug 2024 23:30:39 +0100 Subject: [PATCH] fix: fixing using in welcomeWindow for unity2021 --- Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs b/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs index 22351d7785..828c4075f9 100644 --- a/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs +++ b/Assets/Mirage/Editor/WelcomeWindow/WelcomeWindow.cs @@ -9,6 +9,10 @@ using UnityEditor.PackageManager.Requests; using UnityEngine; using UnityEngine.UIElements; +#if UNITY_2021_3_OR_NEWER +using System.Linq; +using PackageInfo = UnityEditor.PackageManager.PackageInfo; +#endif /** * Docs used: