public void CopyAllSettingsToAllSnapshots(AudioMixerGroupController group, AudioMixerSnapshotController snapshot)
{
for (int n = 0; n < group.effects.Length; n++)
{
CopyEffectSettingsToAllSnapshots(group, n, snapshot, true);
}
AudioMixerSnapshotController[] snaps = snapshots;
for (int n = 0; n < snaps.Length; n++)
{
if (snaps[n] == snapshot)
{
continue;
}
var dst = snaps[n];
group.SetValueForVolume(this, dst, group.GetValueForVolume(this, snapshot));
group.SetValueForPitch(this, dst, group.GetValueForPitch(this, snapshot));
}
}