AI DevKit
Glitch9 Inc.Glitch9 DocsDiscordIssues
  • Introduction
    • AI DevKit 3.0
    • Update Logs
    • Troubleshooting
      • ❗Issues After Updating AIDevKit?
      • ❗The type or namespace name 'Newtonsoft' could not be found
      • ❗Build Error: The name 'UnityMenu' does not exist in the current context
      • ❗Model 'modelName' not found
      • ❗The model `model name` does not exist or you do not have access to it
      • ❗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
      • ⚠️ Timeout Issues
      • ⚠️ Receiving a “HTTP/1.1 400 Bad Request” Error?
    • FAQ
      • My OpenAI API free trial has ended or is inactive.
  • Quick Start
    • Get API Keys
      • OpenAI API Key Guide
      • Google API Key Guide
      • ElevenLabs API Key Guide
    • Text Generation
    • C# Object Generation
    • Image Generation
    • Sound Effect Generation
    • Text to Speech (TTS)
    • Speech to Text (STT)
    • Voice Changer
    • Audio Isolation
  • Pro Features
    • Generation Menu
      • Code Generators
        • C# Script Generator
        • Unity Component Generator
    • 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
  • Assistants API (OpenAI)
    • How it works
    • Creating custom functions
    • Creating assistants API
  • Advanced API Supports
    • OpenAI API
      • 💬Chat completions
      • 🖼️Image operations
      • 🗣️Text to speech
      • 🎙️Speech to text
        • Recording real-time in Unity
      • 💾Files
      • 🔎Embeddings
      • 🛡️Moderations
      • ⚙️Fine-tuning
    • Google API
      • 📝System instructions
      • 💬Text generation
      • ⚙️Fine-tuning
      • ▶️Fucntion calling
      • 🔎Embeddings
      • 🛡️Safety
      • 💻Code execution
    • ElevenLabs API
  • 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
Powered by GitBook
On this page
  • C# Script Generator
  • Unity Component Generator
  1. Pro Features
  2. Generation Menu

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.

PreviousGeneration MenuNextC# Script Generator

Last updated 10 months ago