C# Code Generator | Templates, Mass SO Creation & Folder Styles is a pattern-aware C# code generator built for Unity developers who want to write less boilerplate and start building faster.
Pick a template, fill in your parameters, and generate clean, production-ready C# scripts — all from a polished three-panel wizard or a simple right-click in the Project window.
What You Get
Ace Code Scaffold ships with 17 built-in templates covering the most common Unity scripting patterns:
Every template is fully parameterized. Toggle optional sections on or off, set class names, namespaces, method signatures, accent colors — the generated code adapts to your choices.
### Live Previews
The code preview panel shows your generated C# script updating character-by-character as you adjust parameters. For Editor Window templates, open the companion Live Visual Preview window to see a pixel-accurate rendering of the window you're creating — complete with toolbars, sidebars, status bars, and accent colors — all updating in real-time.
### Quick Create
Right-click any folder in the Project window and navigate to Create > Ace > Code Scaffold to generate any template directly into that folder. A compact Quick Create popup lets you fill in parameters and generate without opening the full wizard.
### Mass ScriptableObject Creation
The Data Container SO template lets you define a ScriptableObject class and batch-create named asset instances in one step. Define your fields, add your asset names, click Generate — the script and all SO assets are created together.
### Folder Styles (Bonus)
Right-click any Project folder to assign a color and icon badge. Visually organize your project at a glance — no configuration files, no setup.
### Zero Dependency
Generated code is clean, standalone C#. There is no runtime reference, no base class, no using directive pointing back to Code Scaffold. You can safely remove the tool at any time without affecting your project.
### Built for Unity 6
Designed for Unity 6 (6000.x) with UI Toolkit throughout. The editor UI is dark-themed, responsive, and follows Unity's design conventions.