- Home /
How to make my music come on for a certain amount of time every few minutes
Sorry guys, all my questions so far have been about audio, you're probably getting sick of me. Ok so I am trying to make my game to have no music (my music is just an audio object) for about 2 minutes, then I want the music to loop for about one minute, then stop for 2, then loop for 1, and so on. I can't figure this out. I deleted my script cause it was causing a problem in my game but it basically was a while loop set to true that had this: audio.Play(22600); or whatever number I put in there, but that obviously didn't work. I'm wondering if anybody knows how to make this work?
Your answer
Follow this Question
Related Questions
AudioClip Precise Timing and Delay 1 Answer
Why Doesn't My Music Loop? 5 Answers
How to delay a audio loop? 1 Answer
Audio Lag Between Multiple Listeners 0 Answers