21 lines
602 B
C#
21 lines
602 B
C#
using UnityEngine;
|
|
|
|
namespace Code.Input
|
|
{
|
|
public interface IInputService
|
|
{
|
|
void EnableMap(ActionMappings actionMap);
|
|
void DisableMap(ActionMappings actionMap);
|
|
|
|
// Для управления камерой
|
|
Vector2 LookInput { get; }
|
|
float ZoomInput { get; }
|
|
|
|
// Для управления движением персонажа
|
|
Vector2 MoveInput { get; }
|
|
bool JumpPressed { get; }
|
|
|
|
// Для переключения режима камеры
|
|
bool ToggleCameraModePressed { get; }
|
|
}
|
|
} |