campfire/Assets/Scripts/Options.cs

28 lines
837 B
C#
Raw Permalink 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; }
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-05-01 04:37:20 +02:00
public float TeleportVolume { 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;
MasterVolume = 1f;
2020-04-19 22:09:31 +02:00
CampfireVolume = 1f;
AmbientVolume = 1f;
FootstepVolume = 1f;
2020-04-21 02:10:32 +02:00
DiaryVolume = 1f;
2020-05-01 04:37:20 +02:00
TeleportVolume = 0.1f;
2020-04-19 22:09:31 +02:00
}
}