AI Dev Kit
API ReferencesDiscordGlitch9
  • Introduction
    • AI DevKit 3.7.0
    • Troubleshooting
    • FAQ
    • Update Logs
  • Provider Setup
    • OpenAI
    • Google Gemini
    • ElevenLabs
    • Ollama
    • OpenRouter
  • Editor Tools
    • Introduction
    • Editor Chat
    • Model Library
    • Voice Library
  • GEN Tasks
    • Introduction - Prefixes
    • Response Generation
    • Chat Session
    • Image Generation
    • Video Generation
    • Sound FX Generation
    • Text to Speech (TTS)
    • Speech to Text (STT)
    • Voice Change
    • Audio Isolation
  • Advanced APIs (Pro)
    • Assistants API
      • How it works
      • Creating custom functions
      • Creating assistants API
    • Realtime API
  • Legacy API
    • OpenAI
      • 💬Chat completions
      • 🖼️Image operations
      • 🗣️Text to speech
      • 🎙️Speech to text
        • Recording real-time in Unity
      • 💾Files
      • 🔎Embeddings
      • 🛡️Moderations
      • ⚙️Fine-tuning
    • Google Gemini
      • 📝System instructions
      • 💬Text generation
      • ⚙️Fine-tuning
      • ▶️Fucntion calling
      • 🔎Embeddings
      • 🛡️Safety
      • 💻Code execution
  • Legacy Documents
    • AI DevKit 1.0 - 2.0
      • AI DevKit 2.0
      • AI DevKit 1.0
      • Preperation
      • Event Handlers
      • Scriptable Toolkits
        • Chat Streamer
        • Image Generator
        • Voice Transcriber
        • Voice Generator
      • Editor Tools
      • Troubleshooting (Legacy)
        • ❗Build Error: The name 'UnityMenu' does not exist in the current context
        • ❗The type or namespace name 'AndroidJavaObject' could not be found
        • ❗The type or namaspace name 'Plastic' does not exist
        • ❗Build Error: The name 'Asset Database' does not exist in the current context
        • ❗'ModelData.Create(Provider, string, UnixTime?, string)': not all code paths return a value
      • Code Generators
        • C# Script Generator
        • Unity Component Generator
      • Generation Menu
      • Editor Chat
      • Editor Vision (TTI, ITI)
      • Editor Speech (TTS)
      • Management Tools
        • Prompt History Viewer
        • AI Model Manager
        • TTS Voice Manager
        • OpenAI File Manager
        • OpenAI Assistant Manager
        • ElevenLabs Voice Library
Powered by GitBook
On this page
  • C# Script Generator
  • Unity Component Generator
  1. Legacy Documents
  2. AI DevKit 1.0 - 2.0

Code Generators

This feature is only available in the Pro version.

AI Development Kit introduces two powerful code generators designed to enhance productivity and creativity within the Unity environment: the C# Script Generator and the Unity Component Generator. These tools leverage advanced AI models to automate the generation of C# scripts and Unity components based on natural language prompts provided by the developer.

C# Script Generator

The C# Script Generator is tailored for developers looking to quickly create C# scripts for Unity. By inputting descriptive prompts about the desired script's functionality, developers can receive ready-to-use C# code snippets. This tool is ideal for generating scripts for common tasks, complex algorithms, or even game mechanics that would otherwise require significant time and effort to code manually.

Key Features:

  • Prompt-based Script Generation: Generates C# scripts based on natural language descriptions.

  • Customizable Output: Allows for the specification of namespaces and adherence to project coding standards.

  • Integration with Unity Editor: Directly accessible within the Unity Editor for a seamless workflow.

Unity Component Generator

The Unity Component Generator focuses on creating MonoBehaviour scripts that can be attached as components to GameObjects in Unity. This tool simplifies the process of adding new behaviors to GameObjects, from player controls and AI behaviors to game management systems, by generating the code necessary based on the developer's descriptions.

Key Features:

  • Component-specific Script Generation: Produces scripts intended to be used as components within Unity.

  • Automatic Script Attachment: Once generated, scripts can be automatically attached to selected GameObjects in the scene.

  • Prompt-based Customization: Developers can specify the exact behavior and functionality they need through natural language prompts.

Previous❗'ModelData.Create(Provider, string, UnixTime?, string)': not all code paths return a valueNextC# Script Generator

Last updated 10 months ago