Topic: Loading screen mute audio

Hi everybody, I have some audio effects in characters prefabs and this sounds are awakening in Loading screen. So how I can mute audio in this screen? Thanks for help

Share

Thumbs up Thumbs down

Re: Loading screen mute audio

You have lots of ways to approach that:
Most of them involve coding tho.
Here's a pretty simple one I could think of.

     private void OnEnable()
        {
            UFE.SetSoundFX(false);
        }

        private void OnDisable()
        {
            UFE.SetSoundFX(true);
        }

Share

Thumbs up Thumbs down

Re: Loading screen mute audio

FreedTerror wrote:

You have lots of ways to approach that:
Most of them involve coding tho.
Here's a pretty simple one I could think of.

     private void OnEnable()
        {
            UFE.SetSoundFX(false);
        }

        private void OnDisable()
        {
            UFE.SetSoundFX(true);
        }

Thank you. It's very helpfull

Share

Thumbs up Thumbs down