SkyHook for Unity.
- Open package manager with
Window -> Package Manager
. - Click
+
button and findAdd package from git URL...
. - Paste
git+https://git.pikokr.dev/SkyHook/SkyHook-Unity.git
and clickAdd
button.
SkyHookManager.StartHook(); // Starts the hook
SkyHookManager.StopHook(); // Stops the hook, this is automatically called on exit
NOTE:
Label
field for labelling keys' names such as F11Key
field is the raw key code from native module.
SkyHookManager.KeyUpdated.AddListener(ev => {
// Your code
});