From adc13e809e542dd475d3a61cc5036971e92fafb5 Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Sat, 10 Aug 2024 14:04:46 -0400 Subject: [PATCH] fix(Extensions): UNITY_2021_3_OR_NEWER --- Assets/Mirror/Core/Tools/Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Core/Tools/Extensions.cs b/Assets/Mirror/Core/Tools/Extensions.cs index 601394e22..ff5755354 100644 --- a/Assets/Mirror/Core/Tools/Extensions.cs +++ b/Assets/Mirror/Core/Tools/Extensions.cs @@ -101,7 +101,7 @@ public static void Clear(this ConcurrentQueue source) } #endif -#if !UNITY_2022_0_OR_NEWER +#if !UNITY_2021_3_OR_NEWER // Some patch versions of Unity 2021.3 and earlier don't have transform.GetPositionAndRotation which we use for performance in some places public static void GetPositionAndRotation(this Transform transform, out Vector3 position, out Quaternion rotation) {