feat: detect key in background
This commit is contained in:
parent
3e34a7a048
commit
680481afad
13 changed files with 460 additions and 19 deletions
6
Assets/Scripts/Win32API.cs
Normal file
6
Assets/Scripts/Win32API.cs
Normal file
|
@ -0,0 +1,6 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
public static class Win32API {
|
||||
[DllImport("User32.dll")]
|
||||
public static extern short GetAsyncKeyState(int vKey);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue