Gui not showing when accessing AudioSource.Volume
        Posted  
        
            by 
                Lautaro
            
        on Game Development
        
        See other posts from Game Development
        
            or by Lautaro
        
        
        
        Published on 2013-10-24T11:08:33Z
        Indexed on 
            2013/10/24
            16:12 UTC
        
        
        Read the original article
        Hit count: 319
        
I have
- A GuiManager class
- A SoundManager with 2 AudioSources
- SfxPlayer is created in the inspector on the same object as SoundManager
- MusicPlayer is created programatically within the SoundManager
 
If i from anywhere in the GuiManager access the volume of MusicPlayer then all the Gui dissapears. Nothing is shown, not even the start menu. I dont get any errors or exceptions. I dont have any Try Catch statements.
Anyone knows whats up?
© Game Development or respective owner