internal void UnregisterAudioPack(AudioPack audioPack) { int hash = Animator.StringToHash(audioPack.name); if (_audioDictionary.ContainsKey(hash)) { _audioDictionary.Remove(hash); } }
internal void RegisterAudioPack(AudioPack audioPack) { int hash = Animator.StringToHash(audioPack.name); if (!_audioDictionary.ContainsKey(hash)) { _audioDictionary.Add(hash, audioPack); } }