@@ -39,7 +39,7 @@ static class LeapMotionConfigurationChecker
39
39
private static string pathDifference = "" ;
40
40
41
41
// 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" ;
43
43
44
44
// Array of paths to Leap Motion testing directories that will be removed from the project.
45
45
// Make sure each test directory ends with '/'
@@ -218,7 +218,7 @@ private static void AddAndUpdateAsmDefs()
218
218
string leapCoreAsmDefPath = Path . Combine ( Application . dataPath , pathDifference , "LeapMotion" , "LeapMotion.asmdef" ) ;
219
219
220
220
// 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 ) ;
222
222
223
223
// If the LeapMotion.asmdef is present, then the Leap Unity Modules version is 4.7.1 and the other
224
224
// LeapMotion.asmdef file does not need to be created.
@@ -290,7 +290,7 @@ private static void AddLeapEditorAsmDefs()
290
290
} ;
291
291
292
292
// 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" ) )
294
294
{
295
295
leapEditorAsmDef . AddReference ( "LeapMotion.LeapCSharp" ) ;
296
296
}
0 commit comments