678 B
678 B
SkyHook-Unity
SkyHook for Unity
Installation
- Open package manager with
Window -> Package Manager
- Press
+
button and findAdd package from git URL...
- Enter
git+https://git.pikokr.dev/SkyHook/SkyHook-Unity.git
and pressAdd
button
Usage
Start and stop hook
SkyHookManager.StartHook(); // Start Hook
SkyHookManager.StopHook(); // Stop Hook, this is automatically called on exit
Receive events
NOTE: SkyHook does NOT give the correct key code. So you can't know what key the user actually pressed.
SkyHookManager.KeyUpdated.AddListener(ev => {
// Your code
});