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 df595443a5
chore: update skyhook linux
2023-05-28 18:58:06 +09:00
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

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