AssetPostProcessors 수정

This commit is contained in:
NTG_Lenovo 2025-08-04 14:27:29 +09:00
parent c4ed693da8
commit 7b1677f2f6

View File

@ -13,19 +13,19 @@ private void OnPreprocessTexture()
var upperPath = importer.assetPath.ToUpper(); var upperPath = importer.assetPath.ToUpper();
if (upperPath.Contains(PathConstants.RawUiPathUpper)) if (upperPath.Contains(PathConstants.RawSpritesPathUpper))
{ {
if (upperPath.Contains(PathConstants.RawOnlyAtlasPathUpper)) if (upperPath.Contains(PathConstants.RawOnlyAtlasPathUpper))
{ {
AssetPostprocessorSprite.OnPreprocessTextureOnlyAtlas(importer); AssetPostprocessorSprite.OnPreprocessTextureOnlyAtlas(importer);
} }
else if (upperPath.Contains(PathConstants.RawSpritesPathUpper)) else if (upperPath.Contains(PathConstants.RawUiPathUpper))
{ {
AssetPostprocessorSprite.OnPreprocessTexture(importer); AssetPostprocessorSprite.OnPreprocessTextureForUi(importer);
} }
else else
{ {
AssetPostprocessorSprite.OnPreprocessTextureForUi(importer); AssetPostprocessorSprite.OnPreprocessTexture(importer);
} }
} }
} }