private IEnumerator FinishedPlaying(float clipLength) { yield return(new WaitForSeconds(clipLength)); OnSoundFinishedPlaying.Invoke(this); }
IEnumerator FinishedPlaying(float clipLength) { yield return(new WaitForSeconds(clipLength)); OnSoundFinishedPlaying.Invoke(this); // The AudioManager will pick this up }
private void NotifyBeingDone() { OnSoundFinishedPlaying.Invoke(this); // The AudioManager will pick this up }