static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
 {
     // check if the config asset is missing, but only after other .asset files have been imported
     if (Array.FindIndex(importedAssets, asset => asset != null && asset.Contains("PostProcessResources.asset")) > -1)
     {
         PostProcessResourceStripper.EnsurePostProcessStrippingConfigAssetExists();
     }
 }
示例#2
0
 static SetupStripping()
 {
     PostProcessResourceStripper.EnsurePostProcessStrippingConfigAssetExists();
     PostProcessResourcesFactory.Init(PostProcessResourceStripper.Strip);
 }
示例#3
0
 static SetupStrippingConfig()
 {
     PostProcessResourceStripper.EnsurePostProcessStrippingConfigAssetExists();
 }