From 0e28eaeaae1672e5b7b0c42de4676500f9b73c19 Mon Sep 17 00:00:00 2001
From: gzatravkin <53317567+gzatravkin@users.noreply.github.com>
Date: Thu, 27 Jun 2024 18:51:05 -0300
Subject: [PATCH] Update NativeTime.cs
Fix bug
---
Runtime/NativeTime.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Runtime/NativeTime.cs b/Runtime/NativeTime.cs
index 7bda3ae..b9bf7fc 100644
--- a/Runtime/NativeTime.cs
+++ b/Runtime/NativeTime.cs
@@ -11,7 +11,7 @@ internal class NativeTimeInternal
public static extern ulong GetTimestampNs();
#else
/// Fallback for unsupported platform
- #if UNITY_2022_OR_NEWER
+ #if UNITY_2022_1_OR_NEWER
[GenerateTestsForBurstCompatibility]
#else
[BurstCompatible]
@@ -21,7 +21,7 @@ internal class NativeTimeInternal
}
/// A burst compatible Stopwatch. Similar to .
- #if UNITY_2022_OR_NEWER
+ #if UNITY_2022_1_OR_NEWER
[GenerateTestsForBurstCompatibility]
#else
[BurstCompatible]