UnityExplorer/src/Input/IHandleInput.cs
2020-11-03 20:59:13 +11:00

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