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 9d97a7ce72 chore: update windows native library 2022-11-06 22:10:07 +09:00
Editor feat: start/stop hook button 2022-11-06 01:08:23 +09:00
Runtime fix: typo 2022-11-06 00:29:50 +09:00
images feat: readme 2022-11-06 10:57:35 +09:00
plugins chore: update windows native library 2022-11-06 22:10:07 +09:00
.gitignore feat: add macos libraries 2022-11-03 22:10:08 +09:00
Editor.meta feat: editor inspector 2022-11-05 23:24:33 +09:00
LICENSE fix: readme 2022-11-03 18:22:37 +09:00
LICENSE.meta feat: initialize unity package 2022-11-03 18:36:05 +09:00
README.md fix: typo 2022-11-06 03:24:55 +00:00
README.md.meta feat: initialize unity package 2022-11-03 18:36:05 +09:00
Runtime.meta feat: start and stop hook 2022-11-03 20:55:22 +09:00
images.meta feat: readme 2022-11-06 10:57:35 +09:00
package.json feat: initialize unity package 2022-11-03 18:36:05 +09:00
package.json.meta feat: initialize unity package 2022-11-03 18:36:05 +09:00
plugins.meta feat: start and stop hook 2022-11-03 20:55:22 +09:00

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
});