23 lines
426 B
C#
Raw Permalink Normal View History

2026-01-05 12:16:58 +05:30
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InputManager : MonoBehaviour, IBase, IBootLoader
{
public bool IsInputEnabled
{
get;
private set;
}
public void Initialize()
{
InterfaceManager.Instance?.RegisterInterface<InputManager>(this);
}
public void SetInputState(bool state)
{
IsInputEnabled = state;
}
}