diff --git a/UnityProject/Assets/TEngine/Editor/AtlasMakerEditor/EditorSpriteSaveInfo.cs b/UnityProject/Assets/TEngine/Editor/AtlasMakerEditor/EditorSpriteSaveInfo.cs index f7772376..b6265625 100644 --- a/UnityProject/Assets/TEngine/Editor/AtlasMakerEditor/EditorSpriteSaveInfo.cs +++ b/UnityProject/Assets/TEngine/Editor/AtlasMakerEditor/EditorSpriteSaveInfo.cs @@ -90,7 +90,7 @@ { var currentPath = Path.GetDirectoryName(assetPath); var rootPath = Config.sourceAtlasRoot.Replace("\\", "/").TrimEnd('/'); - + currentPath = currentPath.Replace("\\", "/"); while (currentPath != null && currentPath.StartsWith(rootPath)) { var parentAtlasName = GetAtlasNameForDirectory(currentPath);