Unity Gemini Integration
A downloadable asset pack
Download NowName your own price
Unity Gemini Integration
This package provides a straightforward way to integrate Google's Gemini API for text generation into your Unity projects.
Key Features:
- Direct Gemini API Access: Send text prompts and receive responses using Unity's
UnityWebRequest
. - Conversation History Management: Automatically handles conversation context for ongoing interactions.
- Custom Personality Prompts: Define and modify AI personality via the Unity Inspector or in code.
- Asynchronous Operation: Uses coroutines for non-blocking API calls.
- Inspector Configuration: API key and personality prompt settings are easily configured in the Unity Inspector.
- Error Handling: Includes basic error handling and logging.
- Unity 6 Compatible.
Installation:
- Download the
Unity Gemini Integration.unitypackage
. - Open it in your Unity project.
- Add the
Gemini Manager
prefab to your scene. - Enter your Google Gemini API key in the Inspector.
- Optionally, set the
personalityPrompt
. - Access the
GeminiIntegration.cs
script to call methods.
Download
Download NowName your own price
Click download now to get access to the following files:
Unity Gemini Integration.unitypackage 3.2 kB
Leave a comment
Log in with itch.io to leave a comment.