2020-04-19 22:09:31 +02:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
public class Options : MonoBehaviour {
|
|
|
|
|
public bool InvertMouseX { get; set; }
|
|
|
|
|
public bool InvertMouseY { get; set; }
|
|
|
|
|
public bool CameraBobbing { get; set; }
|
|
|
|
|
public float MouseSensitivity { get; set; }
|
|
|
|
|
public float MasterVolume { get; set; }
|
|
|
|
|
public float CampfireVolume { get; set; }
|
|
|
|
|
public float AmbientVolume { get; set; }
|
|
|
|
|
public float FootstepVolume { get; set; }
|
|
|
|
|
|
|
|
|
|
private void Awake() {
|
|
|
|
|
InvertMouseX = false;
|
|
|
|
|
InvertMouseY = false;
|
2020-04-19 22:22:24 +02:00
|
|
|
|
CameraBobbing = true;
|
2020-04-19 22:09:31 +02:00
|
|
|
|
MouseSensitivity = 2f;
|
|
|
|
|
MasterVolume = 0.3f;
|
|
|
|
|
CampfireVolume = 1f;
|
|
|
|
|
AmbientVolume = 1f;
|
|
|
|
|
FootstepVolume = 1f;
|
|
|
|
|
}
|
|
|
|
|
}
|