Skip to content

Commit e48fab9

Browse files
committed
Remove unnecessary #if
1 parent d40def9 commit e48fab9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Assets/MRTK/Tools/MSBuild/Scripts/UnityProjectInfo.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,7 @@ private CSProjectInfo GetProjectInfo(Dictionary<string, CSProjectInfo> projectsM
221221

222222
// Manually add special plugin dependencies to the projects
223223
#if UNITY_2019_3_OR_NEWER
224-
#if UNITY_2020_2_OR_NEWER
225224
if (toReturn.Name.StartsWith("Microsoft.MixedReality.Toolkit") || toReturn.Name.StartsWith("Unity.TextMeshPro"))
226-
#else
227-
if (toReturn.Name.StartsWith("Microsoft.MixedReality.Toolkit"))
228225
#endif
229226
{
230227
string[] plugins = SpecialPluginNameMappingUnity2019.Values.OrderByDescending(p => p).ToArray();
@@ -234,7 +231,6 @@ private CSProjectInfo GetProjectInfo(Dictionary<string, CSProjectInfo> projectsM
234231
{
235232
toReturn.AddDependency(projectInfo);
236233
}
237-
#if UNITY_2020_2_OR_NEWER
238234
else
239235
{
240236
CSProjectInfo newProjInfo = new CSProjectInfo(this, asmDefInfoMap[plugin], projectOutputPath);
@@ -245,7 +241,6 @@ private CSProjectInfo GetProjectInfo(Dictionary<string, CSProjectInfo> projectsM
245241
projectsMap.Add(plugin, newProjInfo);
246242
toReturn.AddDependency(newProjInfo);
247243
}
248-
#endif
249244
}
250245
}
251246
#endif

0 commit comments

Comments
 (0)