Auto UITK Generator View on Asset Store (opens in new tab)

Package details

Latest version
1.2.0
Last updated
First released
Unity version
6000.3.10 or later
Package size
5.4 MB
Files
18
Favorites
1
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
$15.00 on

Keywords

Auto UITK Generator

by StarOff1 (opens in new tab)

1 rating, too few to average

Auto UI Toolkit Generator eliminates repetitive boilerplate when working with UI Toolkit.

Price $30.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Auto UITK Generator, 6 months Current $30.00; lowest $15.00; highest $30.00 in this period. $0 $25 $50 Jun Jul Aug Sep Oct Nov Version 1.1.0 released 19 May 2026 v1.1.0 Version 1.2.0 released 21 May 2026

Asset preview

1 / 4

Auto UITK Generator screenshot 1

Auto UITK Generator screenshot 1

About this asset

Working with Unity's UI Toolkit often means writing the same root.Q<Button>("my-button") calls and hard-coding CSS class strings over and over.

Auto UI Toolkit Generator automates this process.

Every time you save or import a UXML or USS file, the tool generates a corresponding C# class that wraps all named elements.

Your code gains type safe references with IntelliSense support, minimal and configurable runtime overhead depending on the selected binding mode.

USS bindings support both flat and BEM structured output.

An optional Global Style Registry aggregates every USS binding in the project into a single UIStyles class for project-wide access.

The generator integrates into your workflow through Project Settings, Unity's asset pipeline (auto-generation on import/move/delete), and dedicated menu items under Window → UI Toolkit.

A sanitize pass removes generated files whose source assets no longer exist, keeping your project clean automatically.

More information can be found in the technical details or in the documentation.

From the publisher's Asset Store listing.

Technical details

</> UXML Files

  • Supports reusable UXML templates via <ui:Template> and <ui:Instance>
  • Named template instances generate bindings
  • Supports both modern [UxmlElement] types and legacy UxmlFactory-based custom elements
  • Generates strongly-typed C# binding classes from UXML files
  • Named elements become typed properties (e.g. Button, Label, custom [UxmlElement] types)
  • Supports hierarchical (nested) access to child elements via generated wrappers
  • Three binding styles:
    • OnCreate: all elements queried once in constructor, best performance
    • LazyLoaded: elements are queried on first access and cached
    • Proxy: requeried on every access
  • UXML element names should be unique for generation. Duplicate names may be ignored or lead to missing bindings.

</> USS Files

  • Generates USS style constant classes from .uss files
  • Supports flat and BEM-structured output with nested static classes for all blocks
  • Optional helper methods (Add, Remove, Toggle, SetModifier) generated alongside each style class
  • Optional Global Style Registry (UIStyles) aggregating all USS bindings into one central access point
  • USS class names must be unique after C# name conversion, If multiple USS classes resolve to the same generated C# identifier, a compilation error will occur.

🔗Shared Features

  • Clear XML summaries in generated code for ease of use, includes IntelliSense usage examples
  • Automatic generation triggered by Unity's asset postprocessor on import, move, and delete
  • Settings page integrated directly in Project Settings → UI Toolkit → Binding Generator
  • Per folder ignore list to exclude third-party or generated assets
  • Manual generation via Project Settings or Context Menu on individual assets
  • Sanitize commands to remove orphaned generated files
  • Configurable output directories, namespaces, and class names
  • Configurable Root Path support for scoped asset processing
  • Configurable Auto-process Asset Limit

🏆Overview

  • Editor tooling only, generated bindings are safe for runtime use and have no impact on build size beyond the generated code
  • Clean code with comments
  • Tested to work out of the box for standard UI Toolkit workflows

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.4.7f1 Compatible Compatible Compatible Compatible
6000.4.2f1 Compatible Compatible Compatible Compatible
6000.3.10f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.