Skip to content

Commit b351e76

Browse files
committed
Support of unity 2022
1 parent 8b91e6e commit b351e76

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,13 +11,13 @@ internal class NativeTimeInternal
1111
public static extern ulong GetTimestampNs();
1212
#else
1313
/// <summary> Fallback for unsupported platform </summary>
14-
[BurstCompatible]
14+
[GenerateTestsForBurstCompatibility]
1515
public static ulong GetTimestampNs() { return 0; }
1616
#endif
1717
}
1818

1919
/// <summary>A burst compatible Stopwatch. Similar to <see cref="Stopwatch"/>.</summary>
20-
[BurstCompatible]
20+
[GenerateTestsForBurstCompatibility]
2121
public struct ValueStopwatch
2222
{
2323
public const ulong TicksToNanoseconds = 100;

0 commit comments

Comments
 (0)