mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-13 23:36:35 +08:00
Finished scene explorer, lots of cleanups. Inspector and Search left now.
This commit is contained in:
17
src/Input/IHandleInput.cs
Normal file
17
src/Input/IHandleInput.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace ExplorerBeta.Input
|
||||
{
|
||||
public interface IHandleInput
|
||||
{
|
||||
void Init();
|
||||
|
||||
Vector2 MousePosition { get; }
|
||||
|
||||
bool GetKeyDown(KeyCode key);
|
||||
bool GetKey(KeyCode key);
|
||||
|
||||
bool GetMouseButtonDown(int btn);
|
||||
bool GetMouseButton(int btn);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user