UnityExplorer/src/Input/IHandleInput.cs

16 lines
296 B
C#
Raw Normal View History

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);
}
}