/// <summary> /// 根据handle设置静音 /// </summary> public void SetStop(int uEntityID, bool stop) { SoundEntity entity = (SoundEntity)EntityManager.Inst.GetEnity(uEntityID); if (null != entity) { entity.Stop(stop); } }
public void StopMoveSound() { if (!m_bMaster) { return; } if (m_moveSoundEnt != null) { SoundEntity sEnt = m_moveSoundEnt as SoundEntity; sEnt.Stop(true); } }