Skip to content

Commit 3b76cce

Browse files
committed
Update path check
1 parent d83b49b commit 3b76cce

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
@@ -39,7 +39,7 @@ static class LeapMotionConfigurationChecker
3939
private static string pathDifference = "";
4040

4141
// The Leap Unity Modules version 4.7.1 already contains a LeapMotion.asmdef file at this path
42-
private static string leapAsmdefPath_471 = "LeapMotion/Core/Scripts/LeapMotion.asmdef";
42+
private static string leapAsmDefPath_471 = "LeapMotion/Core/Scripts/LeapMotion.asmdef";
4343

4444
// Array of paths to Leap Motion testing directories that will be removed from the project.
4545
// Make sure each test directory ends with '/'
@@ -218,7 +218,7 @@ private static void AddAndUpdateAsmDefs()
218218
string leapCoreAsmDefPath = Path.Combine(Application.dataPath, pathDifference, "LeapMotion", "LeapMotion.asmdef");
219219

220220
// The Leap Unity Modules version is 4.7.1 already contains a LeapMotion.asmdef
221-
string leap471Path = Path.Combine(Application.dataPath, pathDifference, "Plugins", leapAsmdefPath_471);
221+
string leap471Path = Path.Combine(Application.dataPath, pathDifference, leapAsmDefPath_471);
222222

223223
// If the LeapMotion.asmdef is present, then the Leap Unity Modules version is 4.7.1 and the other
224224
// LeapMotion.asmdef file does not need to be created.
@@ -290,7 +290,7 @@ private static void AddLeapEditorAsmDefs()
290290
};
291291

292292
// Add the LeapMotion.LeapCSharp assembly definition to the leap motion tests assembly definition
293-
if ((currentLeapCoreAssetsVersion == "4.5.1"|| currentLeapCoreAssetsVersion == "4.7.1") && (leapAsmDef.Key == "LeapMotion.Core.Tests.Editor" || leapAsmDef.Key == "LeapMotion.Core.Editor"))
293+
if ((currentLeapCoreAssetsVersion == "4.5.1" || currentLeapCoreAssetsVersion == "4.7.1") && (leapAsmDef.Key == "LeapMotion.Core.Tests.Editor" || leapAsmDef.Key == "LeapMotion.Core.Editor"))
294294
{
295295
leapEditorAsmDef.AddReference("LeapMotion.LeapCSharp");
296296
}

0 commit comments

Comments
 (0)