示例#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);
    }