I need to play background music in the Main Menu while the game is, naturally, paused. Because when the game is not paused in the main menu, the menu navigation does not work.
In the Music Storage, I can check the "Can play while paused?" box. But then all the other music tracks in the game will continue playing when the game is paused, in the game scenes.
I want to make an exception and let the music play only in the Main Menu.
Is there any way to do that?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The Main menu does not need to be paused for it to be navigable.
If you're navigating it directly - i.e. with a gamepad / keyboard, rather than a mouse - you just need to run the Engine: Manage systems Action to allow for in-game direct-control of Menus.
See the Manual's "Navigating menus directly" chapter for more details.
If you do want to run a single Music track when paused, add a Sound object to the scene, set its Sound type to Music, and check Play while game paused?. Assign the music track in the AudioSource, and it should then play the music while paused.
That worked, thanks!