A downloadable Scripting Tool

Unlock AI-Powered Unity Scripting with Seamless Import/Export Tools

BlueDrizzCode is not an AI and does not use AI itself. Instead, it is a free, open-source Unity toolkit designed to empower an AI code-driven workflow, assisting developers by providing universally helpful import and export tools for managing C# scripts and scene hierarchies. Created by Cameron Swan (aka Drizzleboy), this toolset enhances your Unity development experience, especially when paired with AI assistants like Grok from xAI, without being affiliated with any AI platform.

What It Offers

  • Script Importer: Seamlessly imports AI-generated C# scripts from .txt files into your Unity project, replacing or creating scripts while preserving untouched ones.
  • Script Exporter: Exports your Unity scripts to a single .txt file or individual .cs files, with support for chained file naming (e.g., "AllScripts_001.txt"), ideal for sharing with AI tools.
  • Hierarchy Exporter: Captures your scene’s GameObject hierarchy and components into a .txt file, providing context for AI-assisted scene design.
  • Instruction Files: Includes ReadMeBDC.txt and BlueGrokCodeInstructions.txt, optimized to guide AI tools like Grok in generating compatible Unity C# code.

How It Works

BlueDrizzCode enables a workflow where you:

  1. Export and Plan: Use Script Exporter or Hierarchy Exporter to share your codebase or scene with an AI assistant.
  2. Generate with AI: Leverage an AI tool (e.g., Grok) with the included instructions to create C# scripts tailored for Unity.
  3. Import and Refine: Bring the AI-generated code into Unity via Script Importer, refining it with further AI iterations or manual tweaks.

This toolset does not perform AI generation itself but acts as a bridge, streamlining the process for developers of all levels—hobbyists and professionals alike.

Key Features

  • Optimized for AI workflows, with support for splitting large projects into manageable script sections.
  • Non-AI core functionality, focusing on robust script and hierarchy management.
  • Compatible with Unity’s free version (2019.4 or later recommended) on Windows or Mac.
  • Includes detailed documentation to maximize efficiency.

Why Use BlueDrizzCode?

Perfect for developers using AI to accelerate Unity projects, it also excels at basic script management. Save backups, compare AI-generated designs, and enhance your workflow without relying on AI directly. Future plans include BlueDrizzCodePro, a paid for beta of new tools for BlueDrizzCode workflow.

BlueGrokCode: Workflow and Instructions for AI-Assisted Unity Coding

BlueDrizzCode is officially here! This Early Access release is open-source and free for all commercial projects. These Unity import and export tools simplify script management by providing a structured process to replace scripts, eliminating manual updates. The format and design are tailored to integrate seamlessly with AI, enabling rapid code iterations with built-in backlogging for efficient workflows.

In addition to the toolkit, I’ve developed the BlueGrokCode method—a workflow specifically for Grok and Unity, supported by the included BlueGrokCodeInstructions.txt. This instructional document can be shared with Grok or similar AI code generation tools to ensure scripts are exported in BlueDrizzCode format. The instructions establish a "Push and Pull" workflow, optimizing efficiency through changeset requests. Before proceeding, use the code word "Blue" to confirm the changeset, ensuring Grok implements code changes accurately. The method encourages Grok to output only code, maximizing output completeness and preventing rate limits—especially on Grok’s free version—from interrupting your process. Leverage the Script Exporter to provide Grok with the current codebase, ensuring detailed code maintenance, and use the Hierarchy Exporter to troubleshoot scene-related issues by sharing the scene’s current state with Grok.

License

Free for All Use

Contribute

This is open source! Report issues, suggest features, or submit pull requests via itch.io. Follow @Drizzleboy on IG, YT, and Spotify, or @TheDrizzleboy on X for updates.

Thank you for choosing BlueDrizzCode—happy coding!

Download

Download
BlueDrizzCode_v1.0.unitypackage 9.9 kB

Install instructions

Getting Started

  1. Download BlueDrizzCode_v1.0.unitypackage from this page.
  2. Import it into your Unity project via Assets > Import Package > Custom Package.
  3. Move the included Editor folder to Assets/Editor/ (merge if you have an existing folder, backing up first).
  4. Access tools under Tools > BlueDrizzCode and follow the ReadMe for setup.

Development log

Leave a comment

Log in with itch.io to leave a comment.