public void OnPreprocessAudio()
	{
		if (ImportSettingData.Setting.Toggle == false)
			return;

		string importAssetPath = this.assetPath;
		IAssetProcessor processor = ImportSettingData.GetCustomProcessor(importAssetPath);
		if (processor != null)
			processor.OnPreprocessAudio(importAssetPath, this.assetImporter);
	}
Exemplo n.º 2
0
    public void OnPreprocessAudio()
    {
        if (Setting == null)
        {
            LoadSettingFile();
        }
        if (Setting == null || Setting.Toggle == false)
        {
            return;
        }

        string          importAssetPath = this.assetPath;
        IAssetProcessor processor       = GetCustomProcessor(importAssetPath);

        if (processor != null)
        {
            processor.OnPreprocessAudio(importAssetPath, this.assetImporter);
        }
    }