quantum-space-buddies/QSB/Inputs/QSBInputManager.cs
2023-08-14 16:46:47 +01:00

16 lines
372 B
C#

using QSB.Utility;
using UnityEngine;
namespace QSB.Inputs;
public class QSBInputManager : MonoBehaviour, IAddComponentOnStart
{
public static QSBInputManager Instance { get; private set; }
public void Start()
=> Instance = this;
public bool InputsEnabled { get; private set; } = true;
public void SetInputsEnabled(bool enabled) => InputsEnabled = enabled;
}