修复TextMeshPro Enable时找不到XCharts路径的问题 (#160)

This commit is contained in:
monitor1394
2021-07-26 21:28:13 +08:00
parent a61bf7a621
commit da8e27b514
3 changed files with 5 additions and 1 deletions

View File

@@ -337,7 +337,7 @@ namespace XCharts
// Search for potential alternative locations in the user project
string[] matchingPaths = Directory.GetDirectories(packagePath, "XCharts", SearchOption.AllDirectories);
string path = ValidateLocation(matchingPaths, packagePath);
if (path != null) return packagePath + path;
if (path != null) return Path.Combine(packagePath, path);
}
return null;