UnityEditor.Audio.AudioMixerGroupController.SetValueForVolume C# (CSharp) Method

SetValueForVolume() private method

private SetValueForVolume ( UnityEditor.Audio.AudioMixerController controller, AudioMixerSnapshotController snapshot, float value ) : void
controller UnityEditor.Audio.AudioMixerController
snapshot AudioMixerSnapshotController
value float
return void
        public extern void SetValueForVolume(AudioMixerController controller, AudioMixerSnapshotController snapshot, float value);
        public override string ToString()

Usage Example

Ejemplo n.º 1
0
 public void CopyAttenuationToAllSnapshots(AudioMixerGroupController group, AudioMixerSnapshotController snapshot)
 {
     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));
     }
 }
All Usage Examples Of UnityEditor.Audio.AudioMixerGroupController::SetValueForVolume