C# Class SoundControl, Hellbound

Show file Open project: Backman/Hellbound Class Usage Examples

Public Properties

Property Type Description
m_CurrentSpeakerMode AudioSpeakerMode

Public Methods

Method Description
ChangeVolume ( float newVolume, string tagToBeChanged ) : void
GetVolume ( string tag ) : float
SetNewAduioSpeakerMode ( AudioSpeakerMode toThis ) : void
UpdateAudioSpeakerMode ( ) : void
getInstance ( ) : SoundControl,

Private Methods

Method Description
LoadVolume ( ) : void
SaveVolume ( ) : void
SoundControl ( ) : UnityEngine

Method Details

ChangeVolume() public method

public ChangeVolume ( float newVolume, string tagToBeChanged ) : void
newVolume float
tagToBeChanged string
return void

GetVolume() public method

public GetVolume ( string tag ) : float
tag string
return float

SetNewAduioSpeakerMode() public method

public SetNewAduioSpeakerMode ( AudioSpeakerMode toThis ) : void
toThis AudioSpeakerMode
return void

UpdateAudioSpeakerMode() public method

public UpdateAudioSpeakerMode ( ) : void
return void

getInstance() public static method

public static getInstance ( ) : SoundControl,
return SoundControl,

Property Details

m_CurrentSpeakerMode public property

public AudioSpeakerMode m_CurrentSpeakerMode
return AudioSpeakerMode