Talk:SplashScreen

From Unify Community Wiki
Revision as of 18:21, 7 September 2010 by CorruptedHeart (Talk | contribs)

Jump to: navigation, search
  • I figured out how to remove the Audio Listener error, it requires that the audio listener is removed from the Camera in the beginning. This is a pretty bad work around if you want to have music/sound playing while fading between levels. --CorruptedHeart 10:58, 7 September 2010 (PDT)


  • I also figured out another way of doing it:

<csharp>if (Application.isLoadingLevel) { Destroy(oldCam.GetComponent<AudioListener>()); Destroy(oldCam.GetComponent<GUILayer>()); }</csharp> Simply add that to the top of the OnUpdate function and it works... But will still interrupt sound once a level starts loading. --CorruptedHeart 11:21, 7 September 2010 (PDT)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox