It looks like you're new here. If you want to get involved, click one of these buttons!
Hi ,
I am trying to set volume using slider using this code. It is working also. But the same has to work from a slider created in different game object and scene. I am trying to get the value of slider from different scene.
public void SetVolume(float vol)
{
music.value = vol;
}
Answers
Use PlayerPrefs for things like this (settings, and configurations)
Have both the sliders set the player pref when you switch scenes (or even on slider value change) and read from it when you load the scene to set its value.