Files
PGiZ1/Assets/Code/Input/IInputService.cs
T

22 lines
610 B
C#

using System;
using UnityEngine;
using UnityEngine.InputSystem;
namespace Code.Input
{
public interface IInputService
{
void EnableMap(ActionMapping actionMap);
void DisableMap(ActionMapping actionMap);
Vector2 MainMenuParalax { get; }
Vector2 LookInput { get; }
Vector2 MoveInput { get; }
bool SprintPressed { get; }
void DebugBindAction(int mapId, int actionId, Action<InputAction.CallbackContext> action);
void DebugUnbindAction(int mapId, int actionId, Action<InputAction.CallbackContext> action);
}
}