paring 99817cd203 | ||
---|---|---|
Editor | ||
Runtime | ||
images | ||
plugins | ||
.gitignore | ||
Editor.meta | ||
LICENSE | ||
LICENSE.meta | ||
README.md | ||
README.md.meta | ||
Runtime.meta | ||
images.meta | ||
package.json | ||
package.json.meta | ||
plugins.meta |
README.md
SkyHook-Unity
SkyHook for Unity.
Installation
- 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.
Usage
Starting and stopping the hook
SkyHookManager.StartHook(); // Starts the hook
SkyHookManager.StopHook(); // Stops the hook, this is automatically called on exit
Receiving key events
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
});