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
paring 99817cd203
chore: update skyhook
2023-04-03 17:59:56 +09:00
Editor feat: start/stop hook button 2022-11-06 01:08:23 +09:00
Runtime feat: GetTimeInTicks() 2022-12-08 00:35:54 +09:00
images feat: readme 2022-11-06 10:57:35 +09:00
plugins chore: update skyhook 2023-04-03 17:59:56 +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 chore: edit README for clarity 2022-11-06 23:41:31 +09: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. Click + button and find Add package from git URL.... Add package from git URL
  3. Paste git+https://git.pikokr.dev/SkyHook/SkyHook-Unity.git and click Add 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 F11
  • Key field is the raw key code from native module.
SkyHookManager.KeyUpdated.AddListener(ev => {
    // Your code
});