Loading...
Searching...
No Matches
CityBuilderCore.AudioSlider Class Reference

Detailed Description

allows changing a value of an audiomixer using a slider in the UI, value can also be persisted into player prefs

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.AudioSlider:

Static Public Member Functions

static float unlerp (float start, float end, float x)
 

Public Attributes

Slider Slider
 
AudioMixer Mixer
 
string AudioKey
 
string PlayerPrefKey
 
float MinimumDB = -80
 
float MaximumDB = 3
 
float Linearity = 0.5f