예제 #1
0
 public override void Pause(bool isPause)
 {
     if (m_NowPlayAudio != null && m_NowPlayAudio.GetAudioSource() != null)
     {
         m_NowPlayAudio.Pause(isPause);
     }
 }
예제 #2
0
 public override void Pause(bool isPause)
 {
     if (m_AudioDic != null && m_AudioDic.Count > 0)
     {
         foreach (KeyValuePair <int, AudioActionBase> pair in m_AudioDic)
         {
             AudioActionBase action = pair.Value;
             if (action != null && action.GetAudioSource() != null)
             {
                 action.Pause(isPause);
             }
         }
     }
 }