Exemple #1
0
        /// <summary>
        /// 根据handle设置静音
        /// </summary>
        public void SetStop(int uEntityID, bool stop)
        {
            SoundEntity entity = (SoundEntity)EntityManager.Inst.GetEnity(uEntityID);

            if (null != entity)
            {
                entity.Stop(stop);
            }
        }
Exemple #2
0
 public void StopMoveSound()
 {
     if (!m_bMaster)
     {
         return;
     }
     if (m_moveSoundEnt != null)
     {
         SoundEntity sEnt = m_moveSoundEnt as SoundEntity;
         sEnt.Stop(true);
     }
 }