mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
16 lines
372 B
C#
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;
|
|
} |