コード例 #1
0
    public static OneShotSampleStream LoadSampleStream(UnityEngine.AudioClip clip, int maxSimultaneousPlaybacks)
    {
        var newStream = LoadSampleStream(clip.GetWavBytes(), maxSimultaneousPlaybacks);

        return(newStream);
    }