quakeball/Assets/Scripts/Options.cs

20 lines
509 B
C#
Raw Normal View History

2020-08-02 02:52:38 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeonTea.Quakeball {
/// <summary>Container for user-selected options.</summary>
public class OptionsData {
public bool InvertVerticalLook = false;
public float LookSensitivity = 0.15f;
}
public class Options : MonoBehaviour {
private static OptionsData Singleton = new OptionsData();
public static OptionsData Get() {
return Singleton;
}
}
}