Class AudioMixerGroupVolumePreset
Declaration
[Serializable]
public class AudioMixerGroupVolumePreset
Properties
AudioMixerGroup
Declaration
public AudioMixerGroup AudioMixerGroup { get; }
CurrentVolume
Declaration
public float CurrentVolume { get; }
CurrentVolumeLinear
Declaration
public float CurrentVolumeLinear { get; }
MaxVolume
Declaration
public float MaxVolume { get; }
MaxVolumeLinear
Declaration
public float MaxVolumeLinear { get; }
InitialVolumeLinear
Declaration
public float InitialVolumeLinear { get; }
InitialVolume
Declaration
public float InitialVolume { get; }
Methods
SetVolumeLinear(float, bool)
Declaration
public void SetVolumeLinear(float value, bool autoSave = true)
Parameters
Type | Name |
---|---|
System.Single | value |
System.Boolean | autoSave |
SetVolume(float, bool)
Declaration
public void SetVolume(float value, bool autoSave = true)
Parameters
Type | Name |
---|---|
System.Single | value |
System.Boolean | autoSave |