Unity Ai Assistant
Pricing
Pay per event
Unity Ai Assistant
AI-powered Unity development assistant running as an mcp Actor. Generate C# scripts, create shaders, query LLMs (GPT-4, Claude, Gemini), analyze code, and manage Unity Cloud Services - all through a simple API.
Pricing
Pay per event
Rating
0.0
(0)
Developer

christopher athans crow
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
a day ago
Last modified
Categories
Share
Unity AI Assistant - Apify Actor
© Christopher Athans Crow. All rights reserved.
AI-powered Unity development assistant running as an Apify Actor. Generate C# scripts, create shaders, query LLMs (GPT-4, Claude, Gemini), analyze code, and manage Unity Cloud Services - all through a simple API.
Features
🎮 Unity Script Generation
- Generate C# MonoBehaviour scripts
- Create custom components
- Generate Editor scripts
- ScriptableObject templates
🎨 Shader Creation
- Built-in render pipeline shaders
- Universal Render Pipeline (URP)
- High Definition Render Pipeline (HDRP)
- Custom shader effects
🤖 LLM Integration
- GPT-4 / GPT-3.5 (OpenAI)
- Claude 3 (Anthropic)
- Gemini Pro (Google)
- Unity-aware context
- Code completion
- Code analysis
🌍 AI Services (via Eden AI)
- Text-to-speech (Unity AudioClip format)
- NPC dialogue generation
- Vision analysis for textures
- UI localization/translation
- Sentiment analysis
☁️ Unity Cloud Services
- Cloud Code deployment
- Remote Config management
- Analytics querying
- Diagnostics monitoring
Usage
Input Configuration
{"operation": "generate_script","scriptDescription": "Player controller with WASD movement and jump","scriptName": "PlayerController","targetPlatform": "Windows"}
Available Operations
| Operation | Description |
|---|---|
generate_script | Generate Unity C# script |
create_shader | Create custom shader |
analyze_gameobject | Analyze GameObject hierarchy |
optimize_prefab | Get prefab optimization suggestions |
query_llm | Query GPT-4/Claude/Gemini |
code_completion | Generate code completion |
analyze_code | Analyze C# code for issues |
text_to_speech | Convert text to speech |
npc_dialogue | Generate NPC dialogue |
translate_ui | Translate UI elements |
vision_analysis | Analyze textures/images |
deploy_cloud_code | Deploy to Unity Cloud |
manage_remote_config | Update Remote Config |
query_analytics | Query Unity Analytics |
Examples
Generate Unity Script
{"operation": "generate_script","scriptDescription": "Enemy AI with patrol and chase behavior","scriptName": "EnemyAI","targetPlatform": "Android"}
Output:
//using UnityEngine;public class EnemyAI : MonoBehaviour{private void Start(){// Initialization logic}private void Update(){// AI logic}}
Create URP Shader
{"operation": "create_shader","shaderName": "StylizedWater","shaderType": "Lit","renderPipeline": "URP"}
Query GPT-4
{"operation": "query_llm","llmModel": "gpt-4","llmPrompt": "How do I optimize draw calls for mobile in Unity?","targetPlatform": "Android","openaiApiKey": "sk-..."}
Translate UI
{"operation": "translate_ui","textsToTranslate": ["Start Game", "Settings", "Quit"],"targetLanguages": ["es", "fr", "de", "ja"]}
Output:
{"translations": {"es": ["Iniciar Juego", "Configuración", "Salir"],"fr": ["Démarrer le jeu", "Paramètres", "Quitter"],"de": ["Spiel starten", "Einstellungen", "Beenden"],"ja": ["ゲームを開始", "設定", "終了"]}}
API Keys (Optional)
For LLM operations, provide API keys as input:
openaiApiKey- For GPT-4 / GPT-3.5anthropicApiKey- For Claude 3googleApiKey- For Gemini ProunityProjectId- For Unity Cloud Services
Note: API keys are optional. Basic operations (script/shader generation, analysis) work without them.
Input Schema
Required Fields
operation- The operation to perform
Optional Fields (operation-dependent)
scriptDescription- Description of what to generatescriptName- Name of the script/shadershaderType- Type of shader (Surface, Unlit, Lit)renderPipeline- Render pipeline (Built-in, URP, HDRP)gameObjectName- GameObject to analyzeprefabName- Prefab to optimizetargetPlatform- Unity platform (Windows, Android, iOS, etc.)llmModel- LLM to use (gpt-4, claude-3-opus, gemini-pro)llmPrompt- Question for LLMcodeToAnalyze- Code for analysis/completiontextToSpeak- Text to convert to speechtextsToTranslate- Array of UI textstargetLanguages- Languages to translate to
Output
Results are pushed to the Actor's dataset:
{"operation": "generate_script","success": true,"result": {"script_name": "PlayerController","code": "// Generated C# code","language": "csharp","base_class": "MonoBehaviour"},"input": { ... }}
Platform Support
- ✅ Windows, macOS, Linux
- ✅ Android, iOS
- ✅ WebGL (limited)
- ✅ Console platforms
Unity Compatibility
- Unity 2021.3 LTS and newer
- Built-in, URP, and HDRP pipelines
- All scripting backends
Limitations
- LLM operations require valid API keys
- Unity Cloud operations require project credentials
- Some operations may have usage costs (LLM providers)
- WebGL has limited functionality
Pricing
- Actor runtime: Pay per compute unit
- LLM API calls: Billed by provider (OpenAI/Anthropic/Google)
- No additional fees for basic operations
Support
For issues or questions:
- Check Actor logs
- Review input schema
- Verify API keys are valid
License
Related
Generated with Claude Code
Built with the Apify SDK for Python. Learn more