Sounds on click and hoover not work in pausemenu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 358
Joined: Thu Nov 04, 2021 12:50 pm

Sounds on click and hoover not work in pausemenu

Post by hrohibil »

Hello

Another Menu frame work question

I added sound on click and event trigger for the hoovering. It works great for the main menu. When i load game and open the pause menu, as soon as i hoover the mouse over the button i get errors. AS you see from screenshot they are missing ?

I added the sounds from the main/tile scene.



Please advice..
User avatar
Tony Li
Posts: 21058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sounds on click and hoover not work in pausemenu

Post by Tony Li »

Make sure whatever you have assigned to the Menu System's OnClick() and PointerEnter() events is also in the Menu System's hierarchy. Otherwise it will not be present when you change scenes.
hrohibil
Posts: 358
Joined: Thu Nov 04, 2021 12:50 pm

Re: Sounds on click and hoover not work in pausemenu

Post by hrohibil »

Thank you again again...
Bravo
Post Reply