UnityExplorer/src/Input/IHandleInput.cs

16 lines
295 B
C#
Raw Normal View History

using UnityEngine;
namespace ExplorerBeta.Input
{
public interface IHandleInput
{
Vector2 MousePosition { get; }
bool GetKeyDown(KeyCode key);
bool GetKey(KeyCode key);
bool GetMouseButtonDown(int btn);
bool GetMouseButton(int btn);
}
}