23 lines
640 B
C#
23 lines
640 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; }
|
|
|
|
float MoveInput { get; }
|
|
bool JumpPressed { get; }
|
|
bool SprintHeld { get; }
|
|
bool AttackPressed { get; }
|
|
|
|
|
|
void DebugBindAction(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void DebugUnbindAction(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
}
|
|
} |