campfire/Assets/Scripts/Options.cs

28 lines
831 B
C#
Raw Normal View History

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; }
2020-04-22 17:44:05 +02:00
public float RenderScale { get; set; }
2020-04-19 22:09:31 +02:00
public float MasterVolume { get; set; }
public float CampfireVolume { get; set; }
public float AmbientVolume { get; set; }
public float FootstepVolume { get; set; }
2020-04-21 02:10:32 +02:00
public float DiaryVolume { get; set; }
2020-04-19 22:09:31 +02:00
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;
2020-04-22 17:44:05 +02:00
RenderScale = 1f;
2020-04-19 22:09:31 +02:00
MasterVolume = 0.3f;
CampfireVolume = 1f;
AmbientVolume = 1f;
FootstepVolume = 1f;
2020-04-21 02:10:32 +02:00
DiaryVolume = 1f;
2020-04-19 22:09:31 +02:00
}
}