Skip to content

Commit b487729

Browse files
committed
Updates based on feedback
1 parent 5554b83 commit b487729

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/MRTK/Providers/LeapMotion/Editor/LeapMotionConfigurationChecker.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static class LeapMotionConfigurationChecker
4545
private static string leapTestsPath_470 = "LeapMotion/Core/Editor/Tests";
4646

4747
// This path is used to determine if the Leap Motion Unity Modules is version 4.6.0 or 4.5.1
48-
private static string leapXRPath_451 = "LeapMotion/Core/Scripts/XR/LeapXRPinchLocomotion.cs";
48+
private static string leapXRPath_460 = "LeapMotion/Core/Scripts/XR/LeapXRPinchLocomotion.cs";
4949

5050
// Array of paths to Leap Motion testing directories that will be removed from the project.
5151
// Make sure each test directory ends with '/'
@@ -171,7 +171,7 @@ private static bool LeapCoreAssetsVersionSupport()
171171
currentLeapCoreAssetsVersion = versionNumberSupported;
172172

173173
// The Leap Motion Unity modules Version.txt has remained 4.5.1 across versions 4.6.0, 4.7.0 and 4.7.1, check for the presence
174-
// of certian paths to infer the version number.
174+
// of certain paths to infer the version number.
175175

176176
// This path is only present in 4.7.1
177177
string leap471Path = Path.Combine(Application.dataPath, pathDifference, leapAsmDefPath_471);
@@ -180,7 +180,7 @@ private static bool LeapCoreAssetsVersionSupport()
180180
string testDirectoryPath = Path.Combine(Application.dataPath, pathDifference, leapTestsPath_470);
181181

182182
// This path is present in 4.6.0 and not 4.5.1
183-
string xrPath = Path.Combine(Application.dataPath, pathDifference, leapXRPath_451);
183+
string xrPath = Path.Combine(Application.dataPath, pathDifference, leapXRPath_460);
184184

185185
if (File.Exists(leap471Path))
186186
{

0 commit comments

Comments
 (0)