示例#1
0
 /// <summary>重新播放声音(进度从0开始)</summary>
 public void ReplaySounds(params string[] soundNames)
 {
     for (int i = 0; i < soundNames.Length; i++)
     {
         string    soundName = soundNames[i];
         SoundItem soundItem = GetSoundItemByName(soundName);
         if (soundItem != null)
         {
             soundItem.Replay();
         }
     }
 }