mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 22:48:04 +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);
|
|||
|
}
|
|||
|
}
|