terrainsounds = GameObject.Find("Terrain").audio.volume = GUI.HorizontalSlider(new Rect(Screen.width/2 - 250, Screen.height - 90, 500, 20),terrainsounds,0,1);