예제 #1
0
    /// SE
    public void PlaySE(int index)
    {
        if (!seClips.IsRange(index))
        {
            return;
        }

        var clip = seClips[index];

        seAudio.Play(clip);
    }
예제 #2
0
    /// Voice
    public void PlayVoice(int index)
    {
        if (!voiceClips.IsRange(index))
        {
            return;
        }

        var clip = voiceClips[index];

        voiceAudio.Play(clip);
    }