update
(cherry picked from commit 2357839189c755120b5183d461bd385652065667)
| | |
| | | public class TexturePlatformAssetPostprocessor : AssetPostprocessor |
| | | { |
| | | private static readonly string TARGET_FOLDER = TexturePlatformFormatHelper.TARGET_FOLDER; |
| | | private static readonly bool AUTO_APPLY_ATLAS_SETTINGS = false; |
| | | |
| | | void OnPreprocessTexture() |
| | | { |
| | |
| | | string[] movedAssets, |
| | | string[] movedFromAssetPaths) |
| | | { |
| | | if (!AUTO_APPLY_ATLAS_SETTINGS) |
| | | return; |
| | | |
| | | foreach (var assetPath in importedAssets) |
| | | { |
| | | if (!assetPath.StartsWith(TARGET_FOLDER)) |