iPhone Slider for Volume Controll

hi there!

how do you style/code your sliders for volume controll? any tips, hints or how-to’s?


I would take a look at the following pages from the Script Reference, it should provide you with everything you need for a starting point on making a volume slider, the general functionality should be platform independent; no special iPhone code.

GUI.HorizontalSlider, AudioListener.Volume, GUIStyle

From here, I would basically have an options menu state containing a slider element with bounds from 0.0f to 1.0f and a save button which would store the value inside of a static GameOptions class, or even use PlayerPrefs to store the information, and just reference that data in every scene for use with your AudioListener.