28 lines
837 B
C#
28 lines
837 B
C#
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; }
|
|
public float DiaryVolume { get; set; }
|
|
public float TeleportVolume { get; set; }
|
|
|
|
private void Awake() {
|
|
InvertMouseX = false;
|
|
InvertMouseY = false;
|
|
CameraBobbing = true;
|
|
MouseSensitivity = 2f;
|
|
MasterVolume = 1f;
|
|
CampfireVolume = 1f;
|
|
AmbientVolume = 1f;
|
|
FootstepVolume = 1f;
|
|
DiaryVolume = 1f;
|
|
TeleportVolume = 0.1f;
|
|
}
|
|
}
|