View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 6000.3.11 or later
- Package size
- 104 KB
- Files
- 56
- Favorites
- 7
- Views in the past week
- 5
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.50 on
Keywords
- Search for folder organizer
- Search for editor tool
- Search for boilerplate
- Search for productivity
- Search for ScriptableObject
- Search for mass generation
- Search for Editor Window
- Search for Folder Icons
- Search for Template
- Search for Design Patterns
- Search for code generation
- Search for colored folders
C# Code Generator | Templates, Mass SO Creation & Folder Styles
Boiler plate C# script generator for Unity. 17 templates, live code preview, Quick Create menu, mass Scriptable Object creation, and folder styling. Zero runtime dependency.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
C# Code Generator | Templates, Mass SO Creation & Folder Styles screenshot 1
About this asset
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:
- MonoBehaviour — Basic and Singleton (with DontDestroyOnLoad, thread-safety options)
- Networking — Netcode for GameObjects: NetworkBehaviour, Player Controller, Object Spawner (with NetworkVariables, ServerRpc, ClientRpc)
- ScriptableObject — Basic SO, Data Container (with mass asset creation), Event Channel
- Editor — Custom Editor, Custom Inspector (UI Toolkit), EditorWindow, Documentation Window, About Window, Property Drawer
- Patterns — Command, Object Pool, State Machine State
- Testing — Edit Mode and Play Mode test fixtures
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.
From the publisher's Asset Store listing.
Technical details
Unity Version: 6000.x (Unity 6) and later
Render Pipeline: Compatible with URP, HDRP, and Built-in
Editor Only: Code Scaffold is an editor tool. No runtime scripts or assemblies are included in builds.
UI Framework: Built entirely with UI Toolkit (UIElements). No IMGUI.
Dependencies: None. Uses only built-in Unity APIs.
Generated Code: Pure C# with no dependencies on Code Scaffold or any third-party library.
Template Engine: Custom parser supporting placeholder replacement (`{{Key}}`), conditional blocks (`{{IF}}...{{ENDIF}}`), nested conditionals, and naming transforms (PascalCase, camelCase, snake_case, UPPER_CASE, lower).
Templates: 17 built-in templates stored as .txt files. Organized into 7 categories.
Folder Styles: Per-folder color and icon data stored as a ScriptableObject database asset. Renders via EditorApplication callbacks — zero performance impact in play mode.
Script Count: ~25 editor scripts, 0 runtime scripts.
Platforms: Works on Windows, macOS, and Linux editors.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.11f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.