public static void ShowPopUp()
    {
        HarmonyEditorPopUpSoundManager window = ScriptableObject.CreateInstance <HarmonyEditorPopUpSoundManager>();

        window.position = new Rect(Screen.width / 2, Screen.height / 2, 250, 150);
        window.ShowPopup();
    }
    // To verify that all the folders and files are in the right place
    static bool Verify()
    {
        // Verify if the directory AudioClips exist
        if (!Directory.Exists("Assets/AudioClips/"))
        {
            Debug.LogError("NO AudioClips DIRECTORY FOUND");
            HarmonyEditorPopupFolderSounds.ShowPopUp();
            return(false);
        }

        // Get all the directories of the AudioClips folder
        AudioClipsDirectories = Directory.GetDirectories("Assets/AudioClips/");



        // Get all the categories as Directories names
        foreach (string _s in AudioClipsDirectories)
        {
            Categories.Add(_s.Remove(0, 18));
        }

        // Verify if the prefab SoundManager exist
        if (!File.Exists("Assets/AudioClips/SoundManager.prefab"))
        {
            Debug.LogError("NO SOUNDMANAGER FOUND");

            HarmonyEditorPopUpSoundManager.ShowPopUp();

            return(false);
        }
        else
        {
            SoundManager = ((GameObject)AssetDatabase.LoadAssetAtPath("Assets/AudioClips/SoundManager.prefab", typeof(GameObject)));
        }

        SoundManagerScript = SoundManager.GetComponent <SoundManager>();

        if (SoundManagerScript == null)
        {
            SoundManager.AddComponent <SoundManager>();
        }

        HarmonyScript = SoundManager.GetComponent <Harmony>();

        if (HarmonyScript == null)
        {
            SoundManager.AddComponent <Harmony>();
        }

        // Verify if there are categories
        if (Categories.Count == 0)
        {
            Debug.LogError("NO CATEGORIES FOUND IN HARMONY");
            return(false);
        }

        return(true);
    }