Ejemplo n.º 1
0
 private void OnMouseUp()
 {
     currentVolume    = (rec.transform.localPosition.x - min) / (max - min);
     Conecting.Volume = currentVolume;
     TapToExit.SetupVolume(currentVolume);
     TapToSettings.SetupVolume(currentVolume);
     MessageSystemMainScreen.SetupVolume(currentVolume);
     PlayerPrefs.SetFloat("Volume", currentVolume);
     PlayClip();
     isPress = 0;
 }