Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update unity #1180

Merged
merged 6 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ For more information about Go demos go to [demo/go](demo/go).

### Unity Demos

To run the Porcupine Unity demo, import the [Porcupine Unity package](binding/unity/porcupine-3.0.0.unitypackage) into your project, open the PorcupineDemo scene and hit play. To run on other platforms or in the player, go to _File > Build Settings_, choose your platform and hit the `Build and Run` button.
To run the Porcupine Unity demo, import the [Porcupine Unity package](binding/unity/porcupine-3.0.1.unitypackage) into your project, open the PorcupineDemo scene and hit play. To run on other platforms or in the player, go to _File > Build Settings_, choose your platform and hit the `Build and Run` button.

To browse the demo source go to [demo/unity](demo/unity).

Expand Down Expand Up @@ -778,7 +778,7 @@ porcupine.Delete()

### Unity

Import the [Porcupine Unity Package](binding/unity/porcupine-3.0.0.unitypackage) into your Unity project.
Import the [Porcupine Unity Package](binding/unity/porcupine-3.0.1.unitypackage) into your Unity project.

The SDK provides two APIs:

Expand Down
6 changes: 3 additions & 3 deletions binding/unity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ To learn more about Porcupine, see the [product](https://picovoice.ai/products/p

## Compatibility

[Porcupine unity package](porcupine-3.0.0.unitypackage) is for running Porcupine on **Unity 2017.4+** on the following platforms:
[Porcupine unity package](porcupine-3.0.1.unitypackage) is for running Porcupine on **Unity 2021.3+** on the following platforms:

- Android 5.0+ (API 21+) (ARM only)
- iOS 13.0+
- Windows (x86_64)
- macOS (x86_64)
- macOS (x86_64, arm64)
- Linux (x86_64)

## Installation

The easiest way to install the Porcupine Unity SDK is to import [porcupine-3.0.0.unitypackage](porcupine-3.0.0.unitypackage) into your Unity projects by either dropping it into the Unity editor or going to _Assets>Import Package>Custom Package..._
The easiest way to install the Porcupine Unity SDK is to import [porcupine-3.0.1.unitypackage](porcupine-3.0.1.unitypackage) into your Unity projects by either dropping it into the Unity editor or going to _Assets>Import Package>Custom Package..._

**NOTE:** On macOS, the Porcupine library may get flagged as having come from an unverified source if you've downloaded the `.unitypackage` directly from GitHub. This should only come up when running your project in the Editor. To disable this warning, go to Security & Preferences and choose to allow pv_porcupine.dylib to run.

Expand Down
Binary file removed binding/unity/porcupine-3.0.0.unitypackage
Binary file not shown.
Binary file added binding/unity/porcupine-3.0.1.unitypackage
Binary file not shown.
4 changes: 2 additions & 2 deletions demo/unity/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Porcupine Unity Demo
# Porcupine Unity Demo

The Porcupine demo for Unity is a multi-platform demo that runs on:

Expand All @@ -9,7 +9,7 @@ The Porcupine demo for Unity is a multi-platform demo that runs on:
Additionally, you will need a version of Unity that is 2017.4 or higher.

## Usage
The easiest way to run the demo is to simply import the [Porcupine Unity package](../../binding/unity/porcupine-3.0.0.unitypackage) into your project, open the PorcupineDemo scene and hit play. To run on other platforms or in the player, go to _File > Build Settings_, choose your platform and hit the `Build and Run` button.
The easiest way to run the demo is to simply import the [Porcupine Unity package](../../binding/unity/porcupine-3.0.1.unitypackage) into your project, open the PorcupineDemo scene and hit play. To run on other platforms or in the player, go to _File > Build Settings_, choose your platform and hit the `Build and Run` button.

Once the demo launches, press the `Start Listening` button and try out any of the listed wake words.

Expand Down