AudioSource.loopvar loop : booleanDescriptionIs the audio clip looping? If you disable looping on a playing AudioSource the sound will stop after the end of the current loop.
JavaScript
// Stop looping the sound using UnityEngine; import UnityEngine |
