20 lines
509 B
C#
20 lines
509 B
C#
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;
|
|
}
|
|
}
|
|
}
|