- Home /
 
               Question by 
               theFTWnetwork · Nov 29, 2012 at 09:23 PM · 
                javascriptaudiosoundloop  
              
 
              Can't get a sound to loop
I've got a simple code to play a sound:
audio.PlayClipAtPoint(mysound, transform.position);
But whatever i try, the sound won't loop. The checkbox for loop? I can't check it... I'm sure anyone out there can fix my problem :)
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by theFTWnetwork · Dec 01, 2012 at 12:22 AM
I Didnt know i had to do
Audio.clip = mysound;
This fixed it :)
Answer by Ful · Nov 29, 2012 at 09:55 PM
Well if the checkbox isn't working you could try to add this command `audio.loop = true;`
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                