|
Hi, I have begun to implement a menu into my game (using Java), and it was working fine until I started to make a 'volume' option. I added an audio clip (I made sure it was 2D) to the scene as reference, and it worked fine until I put these sections of code into the menu and the camera (where the audio listener was) respectively:
The above (plus some GUI things) went into the Menu Script;
The above went into my camera. As soon as I put that into effect, no sound whatsoever worked. I changed the volume levels from 1 to 100, and still nothing. I also changed it from Is there something obvious I'm missing??
(comments are locked)
|
|
I think this is an exceedingly simple fix--Change the 'update' function to 'Update' (with a capital U) in your menu script. I KNEW it had to be something stupid. It's the little things I never notice. Embarrassing, but I'm glad it's fixed now. Thanks a lot!
Oct 04 '10 at 07:28 AM
Kristov
(comments are locked)
|
