SFX volume through slider

I have an audio manager that controls my SFX. I tried watching tutorials for controlling the SFX volume, but those all were for audio sources. How can I control my SFX volume with a slider even though I manage my SFX through an audio manager? Please help!

using UnityEngine;


public class AudioManager : MonoBehaviour {

    public static AudioClip moneyCatch, bombExplosion, victory;
    public static AudioSource audioSrc;
   
    void Start()
    {
        moneyCatch = Resources.Load<AudioClip>("MoneyCatch");
        bombExplosion = Resources.Load<AudioClip>("BombExplosion");
        victory = Resources.Load<AudioClip>("Victory");
        audioSrc = GetComponent<AudioSource>();
       
    }

    public static void PlaySound(string clip)
    {
        switch (clip) {
            case "MoneyCatch":
                audioSrc.PlayOneShot(moneyCatch);
                break;
            case "BombExplosion":
                audioSrc.PlayOneShot(bombExplosion);
                break;
            case "Victory":
                audioSrc.PlayOneShot(victory);
                break;

        }

    }
   


}

After this I play the SFX when needed through script.

As the documentation will tell you that you control the volume of an Audio Source via its ‘volume’ attribute.

-ch

How can I reference my slider(UI object and in another scene) that I have already created into my audiomanager script to control my SFX volume as per this documentation:

Never mind. Fixed it myself. Thanks for the help though!