Skip to content

Commit 9efd6c0

Browse files
committed
minor update
1 parent fa767b0 commit 9efd6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/Runtime/OlegHcp/Rng/BaseRng.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public float Next(float maxValue)
2929
return MathUtility.LerpUnclamped(0f, maxValue, (float)Sample());
3030
}
3131

32-
#if !UNITY_2021_2_OR_NEWER
32+
#if UNITY && !UNITY_2021_2_OR_NEWER
3333
public void NextBytes(Span<byte> buffer)
3434
{
3535
for (int i = 0; i < buffer.Length; i++)

0 commit comments

Comments
 (0)