@@ -45,7 +45,7 @@ static class LeapMotionConfigurationChecker
45
45
private static string leapTestsPath_470 = "LeapMotion/Core/Editor/Tests" ;
46
46
47
47
// 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" ;
49
49
50
50
// Array of paths to Leap Motion testing directories that will be removed from the project.
51
51
// Make sure each test directory ends with '/'
@@ -171,7 +171,7 @@ private static bool LeapCoreAssetsVersionSupport()
171
171
currentLeapCoreAssetsVersion = versionNumberSupported ;
172
172
173
173
// 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.
175
175
176
176
// This path is only present in 4.7.1
177
177
string leap471Path = Path . Combine ( Application . dataPath , pathDifference , leapAsmDefPath_471 ) ;
@@ -180,7 +180,7 @@ private static bool LeapCoreAssetsVersionSupport()
180
180
string testDirectoryPath = Path . Combine ( Application . dataPath , pathDifference , leapTestsPath_470 ) ;
181
181
182
182
// 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 ) ;
184
184
185
185
if ( File . Exists ( leap471Path ) )
186
186
{
0 commit comments