Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Bullet sound cutting

Discussion in 'Audio & Video' started by knobblez, Apr 15, 2018.

  1. knobblez

    knobblez

    Joined:
    Nov 26, 2017
    Posts:
    223
    Hi. I've already done some searching and can't find anything on sound cutting.

    My script Plays an audio file every bullet shot. The problem is it cuts off the last bullet audio when the new one is played. Is the only way around this to instantiate an empty to play the audio?
     
  2. Mokzen

    Mokzen

    Joined:
    Oct 10, 2016
    Posts:
    102
    If you are playing any other sounds at the same time as your bullet sound is playing, make sure they have different priorities in the Audio Source components.