mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00
22 lines
401 B
C#
22 lines
401 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using UnityEngine;
|
|
|
|
namespace Explorer.Input
|
|
{
|
|
public interface IAbstractInput
|
|
{
|
|
void Init();
|
|
|
|
Vector2 MousePosition { get; }
|
|
|
|
bool GetKeyDown(KeyCode key);
|
|
bool GetKey(KeyCode key);
|
|
|
|
bool GetMouseButtonDown(int btn);
|
|
bool GetMouseButton(int btn);
|
|
}
|
|
}
|