|
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?
(comments are locked)
|
|
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. Thanks so much!! That actually made sense. Do you happen to know how to 'untrigger' the gui. cuz it just stays there thruout the game now.
May 10 '10 at 05:05 AM
ZeNooB
just set showgui to false in OnTriggerExit
May 10 '10 at 05:16 AM
Mike 3
Don't forget to accept the answer :)
May 10 '10 at 07:21 AM
Random Indie
(comments are locked)
|
