Skip to content

Commit

Permalink
Merge pull request #7 from StrangeLoopGames/gzatravkin-patch-1
Browse files Browse the repository at this point in the history
Update NativeTime.cs
  • Loading branch information
gzatravkin committed Jun 27, 2024
2 parents 043305d + 0e28eae commit e368a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Runtime/NativeTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal class NativeTimeInternal
public static extern ulong GetTimestampNs();
#else
/// <summary> Fallback for unsupported platform </summary>
#if UNITY_2022_OR_NEWER
#if UNITY_2022_1_OR_NEWER
[GenerateTestsForBurstCompatibility]
#else
[BurstCompatible]
Expand All @@ -21,7 +21,7 @@ internal class NativeTimeInternal
}

/// <summary>A burst compatible Stopwatch. Similar to <see cref="Stopwatch"/>.</summary>
#if UNITY_2022_OR_NEWER
#if UNITY_2022_1_OR_NEWER
[GenerateTestsForBurstCompatibility]
#else
[BurstCompatible]
Expand Down

0 comments on commit e368a06

Please sign in to comment.