예제 #1
0
    public void PlayClip(AudioClip clip, float retriveTime = 1f, float pitch = 1f)
    {
        var source = _audioSouces.GetUnusedOne();

        source.pitch = pitch;
        source.clip  = clip;
        source.Play();
        RetriveSource(source, retriveTime);
    }