Ejemplo n.º 1
0
    private IEnumerator FinishedPlaying(float clipLength)
    {
        yield return(new WaitForSeconds(clipLength));

        OnSoundFinishedPlaying.Invoke(this);
    }
Ejemplo n.º 2
0
    IEnumerator FinishedPlaying(float clipLength)
    {
        yield return(new WaitForSeconds(clipLength));

        OnSoundFinishedPlaying.Invoke(this);         // The AudioManager will pick this up
    }
Ejemplo n.º 3
0
 private void NotifyBeingDone()
 {
     OnSoundFinishedPlaying.Invoke(this);         // The AudioManager will pick this up
 }