Skip to content

Commit

Permalink
Silence build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
daleeidd committed Feb 3, 2024
1 parent d888771 commit 0847b55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crest/Assets/Crest/Crest/Scripts/Collision/SamplingHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class SampleHeightHelper
static NativeArray<Vector3> _tmpQueryResult;
static NativeArray<Vector3> _tmpQueryResultNormal;
static NativeArray<Vector3> _tmpQueryResultVel;
#if UNITY_EDITOR
private static bool HaveRegisteredDomainUnload = false;
#endif
#else
Vector3[] _queryPos = new Vector3[1];
Vector3[] _queryResult = new Vector3[1];
Expand Down Expand Up @@ -264,7 +266,9 @@ public class SampleFlowHelper
// See comment on SampleHeightHelper about why these are static and more.
private static NativeArray<Vector3> _tmpQueryPos;
private static NativeArray<Vector3> _tmpQueryResult;
#if UNITY_EDITOR
private static bool HaveRegisteredDomainUnload = false;
#endif
#else
Vector3[] _queryPos = new Vector3[1];
Vector3[] _queryResult = new Vector3[1];
Expand Down

0 comments on commit 0847b55

Please sign in to comment.