mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 22:48:04 +08:00
16 lines
296 B
C#
16 lines
296 B
C#
using UnityEngine;
|
|
|
|
namespace UnityExplorer.Input
|
|
{
|
|
public interface IHandleInput
|
|
{
|
|
Vector2 MousePosition { get; }
|
|
|
|
bool GetKeyDown(KeyCode key);
|
|
bool GetKey(KeyCode key);
|
|
|
|
bool GetMouseButtonDown(int btn);
|
|
bool GetMouseButton(int btn);
|
|
}
|
|
}
|