Skip to content

Commit 0e28eae

Browse files
authored
Update NativeTime.cs
Fix bug
1 parent 043305d commit 0e28eae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/NativeTime.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ internal class NativeTimeInternal
1111
public static extern ulong GetTimestampNs();
1212
#else
1313
/// <summary> Fallback for unsupported platform </summary>
14-
#if UNITY_2022_OR_NEWER
14+
#if UNITY_2022_1_OR_NEWER
1515
[GenerateTestsForBurstCompatibility]
1616
#else
1717
[BurstCompatible]
@@ -21,7 +21,7 @@ internal class NativeTimeInternal
2121
}
2222

2323
/// <summary>A burst compatible Stopwatch. Similar to <see cref="Stopwatch"/>.</summary>
24-
#if UNITY_2022_OR_NEWER
24+
#if UNITY_2022_1_OR_NEWER
2525
[GenerateTestsForBurstCompatibility]
2626
#else
2727
[BurstCompatible]

0 commit comments

Comments
 (0)