Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Audio Bullet sound cutting

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

  1. knobblez

    knobblez

    Joined:
    Nov 26, 2017
    Posts:
    70
    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:
    64
    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.