private static void TryApplyRule(string assetPath, AssetImporter assetImporter, ImporterRulesTypes type)
 {
     if (waitPaths.Contains(assetPath))
     {
         waitPaths.Remove(assetPath);
     }
     else if (ImporterRulesWindow.ApplyFirstRule(type, assetPath, assetImporter))
     {
         waitPaths.Add(assetPath);
         AssetDatabase.ImportAsset(assetPath, ImportAssetOptions.ForceUpdate);
     }
 }
 private void OnPreprocessModel()
 {
     ImporterRulesWindow.ApplyFirstRule(ImporterRulesTypes.model, assetPath, assetImporter);
 }
 private void OnPreprocessTexture()
 {
     ImporterRulesWindow.ApplyFirstRule(ImporterRulesTypes.texture, assetPath, assetImporter);
 }
 private void OnPreprocessAudio()
 {
     ImporterRulesWindow.ApplyFirstRule(ImporterRulesTypes.audio, assetPath, assetImporter);
 }