コード例 #1
0
        public IPlayable GetSoundResourceGroup(params IPlayable[] availablePlayables)
        {
            string id = SoundResourceGroupID(availablePlayables);

            if (!soundResourceGroups.ContainsKey(id))
            {
                soundResourceGroups[id] = new SoundResourceGroup(availablePlayables);
            }
            return(soundResourceGroups[id]);
        }
コード例 #2
0
 public IPlayable GetSoundResourceGroup(params IPlayable[] availablePlayables)
 {
     string id = SoundResourceGroupID(availablePlayables);
     if (!soundResourceGroups.ContainsKey(id))
         soundResourceGroups[id] = new SoundResourceGroup(availablePlayables);
     return soundResourceGroups[id];
 }