public void RemoveActiveAudioSourceId(SoundGroupVariation variation) { int instanceID = variation.GetInstanceID(); this.activeAudioSourcesIds.Remove(instanceID); GroupBus busForGroup = this.BusForGroup; if (busForGroup != null) { busForGroup.RemoveActiveAudioSourceId(instanceID); } }
public void AddActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); if (activeAudioSourcesIds.Contains(id)) { return; } activeAudioSourcesIds.Add(id); }
public void RemoveActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); activeAudioSourcesIds.Remove(id); var bus = BusForGroup; if (bus != null) { bus.RemoveActiveAudioSourceId(id); } }
public void AddActiveAudioSourceId(SoundGroupVariation variation) { int instanceID = variation.GetInstanceID(); if (!this.activeAudioSourcesIds.Contains(instanceID)) { this.activeAudioSourcesIds.Add(instanceID); GroupBus busForGroup = this.BusForGroup; if (busForGroup != null) { busForGroup.AddActiveAudioSourceId(instanceID); } } }
public void AddActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); if (activeAudioSourcesIds.Contains(id)) { return; } activeAudioSourcesIds.Add(id); var bus = BusForGroup; if (bus != null) { bus.AddActiveAudioSourceId(id); } }
public void AddActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); if (activeAudioSourcesIds.Contains(id)) { return; } activeAudioSourcesIds.Add(id); var bus = BusForGroup; if (bus != null) { bus.AddActiveAudioSourceId(id); } }
public void RemoveActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); activeAudioSourcesIds.Remove(id); }
public void RemoveActiveAudioSourceId(SoundGroupVariation variation) { var id = variation.GetInstanceID(); activeAudioSourcesIds.Remove(id); var bus = BusForGroup; if (bus != null) { bus.RemoveActiveAudioSourceId(id); } }