Question by 
               Chuck95 · Jan 18, 2016 at 10:13 AM · 
                audiosourceeffectplaysounds  
              
 
              my audiosource does not play after gameobject falling
Hi, this is my part of code void Update(){ .... // pos = rb.position[1]; //rb = gameobject; if (pos < 0.0f) { Lose.text = "YOU LOSE "; rb.GetComponents<AudioSource>()[2].Play(); } when my gameobject falls, the "YOU LOSE" text appears but the sound plays in loop, I want that the sound plays only one time. 
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to Play sequentially more than one AudioSource in one game object ? 1 Answer
Need help: new sound isnt played correctly anymore 2 Answers
Upon hitting Play, my character creates a new Audio Source Component 0 Answers
Audio is cut in script 0 Answers
Play a variety of audio source objects from a for loop 2 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                