AssetPostProcessors 수정
This commit is contained in:
parent
c4ed693da8
commit
7b1677f2f6
@ -13,19 +13,19 @@ private void OnPreprocessTexture()
|
||||
|
||||
var upperPath = importer.assetPath.ToUpper();
|
||||
|
||||
if (upperPath.Contains(PathConstants.RawUiPathUpper))
|
||||
if (upperPath.Contains(PathConstants.RawSpritesPathUpper))
|
||||
{
|
||||
if (upperPath.Contains(PathConstants.RawOnlyAtlasPathUpper))
|
||||
{
|
||||
AssetPostprocessorSprite.OnPreprocessTextureOnlyAtlas(importer);
|
||||
}
|
||||
else if (upperPath.Contains(PathConstants.RawSpritesPathUpper))
|
||||
else if (upperPath.Contains(PathConstants.RawUiPathUpper))
|
||||
{
|
||||
AssetPostprocessorSprite.OnPreprocessTexture(importer);
|
||||
AssetPostprocessorSprite.OnPreprocessTextureForUi(importer);
|
||||
}
|
||||
else
|
||||
{
|
||||
AssetPostprocessorSprite.OnPreprocessTextureForUi(importer);
|
||||
AssetPostprocessorSprite.OnPreprocessTexture(importer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user