- Home /
Question by
vittu1994 · Mar 18, 2016 at 12:17 PM ·
audiosourceloopaudioclipmusicif statement
How to check if an AudioClip has looped?
Hi our group is developing a infinity runner game for smartphone and i work with the audio. I have a song that plays during gameplay that loops through out. However i want the song to change everytime it loops and plays over by changing the pitch and etc.
How do i check if my AudioClip has looped? I dont need help with how to change the audio file but what if statement to use to see if my AudioClip has looped if its possible
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612071929im_/https://answers.unity.com/themes/thub/images/avi.jpg)