https://github.com/unitygamestudio/functioncalling-gemini
This is a repository that contains scripts from a Unity Project regarding FuncitonCalling with Gemini.
https://github.com/unitygamestudio/functioncalling-gemini
Last synced: 11 months ago
JSON representation
This is a repository that contains scripts from a Unity Project regarding FuncitonCalling with Gemini.
- Host: GitHub
- URL: https://github.com/unitygamestudio/functioncalling-gemini
- Owner: UnityGameStudio
- License: mit
- Created: 2025-07-30T18:57:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-30T20:35:01.000Z (11 months ago)
- Last Synced: 2025-07-30T21:57:22.301Z (11 months ago)
- Language: C#
- Size: 98.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FunctionCalling-Gemini
This is a repository that contains scripts from a Unity Project regarding FuncitonCalling with Gemini.
Here's a quick video that shows these scripts in Unity: [Watch the YouTube Demo](https://www.youtube.com/watch?v=UeviAFvD-S8&ab_channel=UnityGameStudio)
# Setup
### Step 1: Add the scripts to your scene inside an empty object

Attach the dependencies inside the variables, it should ended up like the picture.
Inside the Object Spawner, the Object Prefabs are files of 3D objects inside Unity that can be instantiated.

Finally, the signal object is a plane with an image as a texture.

### Step 2: Login to your Google account, copy your secret key and paste it inside the JSON.txt
You will need to fetch your Google API key, which can be found in your Google AI Studio account under `Get API Key` (or through [this direct link](https://aistudio.google.com/app/apikey)).