-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,637 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,40 @@ | ||
## UGemini | ||
|
||
A C# wrapper for the Google Gemini API. | ||
|
||
[![openupm](https://img.shields.io/npm/v/com.uralstech.ugemini?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.uralstech.ugemini/) | ||
[![openupm](https://img.shields.io/badge/dynamic/json?color=brightgreen&label=downloads&query=%24.downloads&suffix=%2Fmonth&url=https%3A%2F%2Fpackage.openupm.com%2Fdownloads%2Fpoint%2Flast-month%2Fcom.uralstech.ugemini)](https://openupm.com/packages/com.uralstech.ugemini/) | ||
|
||
### Installation | ||
|
||
This *should* work on any reasonably modern Unity version. Built and tested in Unity 2022.3.29f1. | ||
|
||
#### From OpenUPM Through Unity Package Manager | ||
|
||
1. Open project settings | ||
2. Select `Package Manager` | ||
3. Add the OpenUPM package registry: | ||
- Name: `OpenUPM` | ||
- URL: `https://package.openupm.com` | ||
- Scope(s) | ||
- `com.uralstech` | ||
- *`com.utilities` | ||
4. Open the Unity Package Manager window (`Window` -> `Package Manager`) | ||
5. Change the registry from `Unity` to `My Registries` | ||
6. Add the `UGemini` and *`Utilities.Encoder.Wav` packages | ||
|
||
#### From GitHub Through Unity Package Manager | ||
|
||
1. Open the Unity Package Manager window (`Window` -> `Package Manager`) | ||
2. Select the `+` icon and `Add package from git URL...` | ||
3. Paste the UPM branch URL and press enter: | ||
- `https://github.com/Uralstech/UGemini.git#upm` | ||
|
||
*\*Adding additional dependencies:*<br/> | ||
Follow the steps detailed in the OpenUPM installation method and only install the *`Utilities.Encoder.Wav` package. | ||
|
||
*Optional, but required if you don't want to bother with encoding your AudioClips into Base64 strings manually. | ||
|
||
### Documentation | ||
|
||
See <https://github.com/Uralstech/UGemini/blob/master/UGemini/Packages/com.uralstech.ugemini/Documentation~/README.md>. |
Oops, something went wrong.