Skip to content

Commit 7867a82

Browse files
authored
Merge pull request #7 from fuziki/feature/upm
support upm
2 parents 83ed50f + 6c32b2b commit 7867a82

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Examples/UnityAppEventMonitor/Assets/Plugins/AppEventMonitor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.fuziki.unity_app_event_monitor",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"displayName": "UnityAppEventMonitor",
55
"description": "Receive keyboard input even when Unity.app is in the background with no focus.",
66
"unity": "2020.3",

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ This GIF shows that unity can detect keys entered into TextEdit.
2222
* macOS 12+ (Apple Silicon and Intel)
2323

2424
# Installation
25-
Download [AppEventMonitor.unitypakcage](https://github.com/fuziki/UnityAppEventMonitor/releases/download/0.1.0/AppEventMonitor.unitypackage) from the release page and install it in your project.
25+
## Unity Pakcage Manager (UPM)
26+
Select "Add package form git URL" in the Unity Package Manager and enter the following path.
27+
[https://github.com/fuziki/UnityAppEventMonitor.git?path=Examples/UnityAppEventMonitor/Assets/Plugins/AppEventMonitor](https://github.com/fuziki/UnityAppEventMonitor.git?path=Examples/UnityAppEventMonitor/Assets/Plugins/AppEventMonitor)
28+
29+
## Copy Source
30+
Copy and paste [Examples/UnityAppEventMonitor/Assets/Plugins/AppEventMonitor](Examples/UnityAppEventMonitor/Assets/Plugins/AppEventMonitor) into your Unity project.
31+
32+
## Accessibility
2633
To allow monitoring of keyboard input in the background, you need to add Unity to Accessibility.
2734
Open `System Preferences` > `Security & Privacy` > `Privacy` > `Accessibility` and add `Unity.app`.
2835
(And `Unity Hub.app` if you use)

0 commit comments

Comments
 (0)