have a presentation in a few hours, and im desperate. one of my scripts is acting up.
Basically a Box Collider is hit and audio and text come out.
GUI came out but audio was messed up! Whats wrong?
That code wouldn't actually compile anyway; maybe you wanted something more like this:
OnGUI runs at least twice per frame, so it's unlikely you want audio.Play() in there.
answered May 10 '10 at 04:48 AM