paring 5305be4f8d | ||
---|---|---|
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
- 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
});