C# Code Generator | Templates, Mass SO Creation & Folder Styles
AceMoisan
$10.50
$15.00
30%OFF
(no ratings)
Jump AssetStore
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.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 GetAce 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 ChannelEditor — Custom Editor, Custom Inspector (UI Toolkit), EditorWindow, Documentation Window, About Window, Property DrawerPatterns — Command, Object Pool, State Machine StateTesting — Edit Mode and Play Mode test fixturesEvery 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 PreviewsThe 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 CreateRight-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 CreationThe 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 DependencyGenerated 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 6Designed for Unity 6 (6000.x) with UI Toolkit throughout. The editor UI is dark-themed, responsive, and follows Unity's design conventions.Unity Version: 6000.x (Unity 6) and laterRender Pipeline: Compatible with URP, HDRP, and Built-inEditor 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.AI-Assisted DevelopmentAI tools (Claude by Anthropic) were used as a development partner throughout the creation of Ace Code Scaffold. Specifically:Architecture & Code: AI assisted with designing the template engine, writing editor UI code, implementing the live preview system, and iterating on the parameter validation logic. All AI-generated code was reviewed, tested, and refined by hand.Documentation: AI helped draft in-editor documentation content, in depth tooltips, and parameter descriptions to ensure clarity for first-time users. No AI-generated art, audio, or 3D assets are included. All visual design (UI layout, color theming, icon styling) was directed and approved by the developer. The final product reflects human creative direction augmented by AI-assisted engineering.Myself, and colleagues have personally used this tool for development on multiple projects, and wanted to share it with the community, as it has saved me many hours of tedious development, allowing me to focus on creative directory and building the parts of games we all enjoy!




