mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
22 lines
487 B
C#
22 lines
487 B
C#
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
namespace UnityExplorer.Core.Input
|
|
{
|
|
public interface IHandleInput
|
|
{
|
|
Vector2 MousePosition { get; }
|
|
Vector2 MouseScrollDelta { get; }
|
|
|
|
bool GetKeyDown(KeyCode key);
|
|
bool GetKey(KeyCode key);
|
|
|
|
bool GetMouseButtonDown(int btn);
|
|
bool GetMouseButton(int btn);
|
|
|
|
BaseInputModule UIInputModule { get; }
|
|
|
|
void AddUIInputModule();
|
|
void ActivateModule();
|
|
}
|
|
} |