For Unity AudioSource
objects, what is the difference between the Play
and PlayOneShot
methods, besides their method signatures?
Is it simply that PlayOneShot
won't stop an already playing sound from the AudioSource
? So given a scenario where you can guarantee that a call to AudioSource.Play()
won't occur again until its isPlaying
boolean value is false, is there any reason to use PlayOneShot
?