SkyHook for Unity
This repository has been archived on 2023-05-28. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
CrackThrough 06407c97a1 fix: add missing docs for public/internal members 2022-11-06 22:46:21 +09:00
Editor
Runtime fix: add missing docs for public/internal members 2022-11-06 22:46:21 +09:00
images
plugins chore: update windows native library 2022-11-06 22:10:07 +09:00
.gitignore
Editor.meta
LICENSE
LICENSE.meta
README.md fix: typo 2022-11-06 03:24:55 +00:00
README.md.meta
Runtime.meta
images.meta
package.json
package.json.meta
plugins.meta

README.md

SkyHook-Unity

SkyHook for Unity

Installation

  1. Open package manager with Window -> Package Manager
  2. Press + button and find Add package from git URL...

Add package from git URL

  1. Enter git+https://git.pikokr.dev/SkyHook/SkyHook-Unity.git and press Add 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
});