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??
I think this is an exceedingly simple fix--Change the 'update' function to 'Update' (with a capital U) in your menu script.
answered Oct 04 '10 at 05:44 AM