private void StopState(string soundName, SoundItem soundItem) { soundItem.Stop(); if (dicAllSounds.ContainsKey(soundName)) { dicAllSounds.Remove(soundName); } }