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);
            }
        }
        private void OnGUI()
        {
            if (_isInit == false)
            {
                _isInit = true;
                Init();
            }

            // 列表显示
            EditorGUILayout.Space();
            for (int i = 0; i < ImportSettingData.Setting.Elements.Count; i++)
            {
                string folderPath    = ImportSettingData.Setting.Elements[i].FolderPath;
                string processorName = ImportSettingData.Setting.Elements[i].ProcessorName;

                EditorGUILayout.BeginHorizontal();
                {
                    EditorGUILayout.LabelField(folderPath);

                    int index    = NameToIndex(processorName);
                    int newIndex = EditorGUILayout.Popup(index, _processorClassArray, GUILayout.MaxWidth(150));
                    if (newIndex != index)
                    {
                        string processClassName = IndexToName(newIndex);
                        ImportSettingData.ModifyElement(folderPath, processClassName);
                    }

                    if (GUILayout.Button("-", GUILayout.MaxWidth(40)))
                    {
                        ImportSettingData.RemoveElement(folderPath);
                        break;
                    }
                }
                EditorGUILayout.EndHorizontal();
            }

            // 添加按钮
            if (GUILayout.Button("+"))
            {
                string resultPath = EditorTools.OpenFolderPanel("+", _lastOpenFolderPath);
                if (resultPath != null)
                {
                    _lastOpenFolderPath = EditorTools.AbsolutePathToAssetPath(resultPath);
                    ImportSettingData.AddElement(_lastOpenFolderPath);
                }
            }
        }