Ludo-3D/Assets/Scripts/Input/InputManager.cs
Ashby Issac ece8c8d5cb Initialized project with loader scripts and necessary components.
Added newtonsoft package.
Added dotween package.
Updated game scene with PopupManager, GameBootLoader.
Added necessary UI scripts.
2026-01-20 20:17:48 +05:30

23 lines
426 B
C#

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;
}
}