15 lines
645 B
C#
15 lines
645 B
C#
using System;
|
|
using UnityEngine.InputSystem;
|
|
|
|
namespace Code.Infrastructure.Input
|
|
{
|
|
public interface IInputService
|
|
{
|
|
void EnableMap(ActionMappings actionMap);
|
|
void DisableMap(ActionMappings actionMap);
|
|
void BindActionPerformed(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void BindActionCancel(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void UnbindActionPerformed(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void UnbindActionCanceled(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
}
|
|
} |