Settings

You can open settings using Window / AutoFields / Settings or Edit / Projects Settings… / AutoFields
This window allows you to configure default namespaces, script folder paths, field naming styles, and automatic tracking behavior.
Settings
Default Namespace
Sets the base namespace used for generated scripts.
Default Scripts Folder
Controls where the generated C# files are placed.Placeholders:{UxmlFolder}
: the generated script will be saved in the same directory as its source .uxml file.{Namespace}
: will be replaced with Default Namespace.Any dots in the namespace will be replaced with the directory separator.Example:Namespace: MyCompany.Scripts.ToolkitFolder: Assets/Scripts/UI/{Namespace}/Result: Assets/Scripts/UI/MyCompany/Scripts/Toolkit/Track All VisualTreeAssets
If enabled, AutoFields will track all UXML files in the project automatically. Assets labeled
DoNotTrack
or located in the Packages will be skipped.Watch *.uxml Files Changes
Unity sometimes fails to detect changes in .uxml files — this option ensures updates are picked up reliably.
Property Name Case
Choose between PascalCase or camelCase for generated property names.
Ignored Name Masks
Exclude specific element names. Supports wildcards (
*
). For example,ignore-*
will ignore any element whose name starts withignore-
.Delete Scripts for Untracked Assets
Automatically remove scripts if their source UXML files are no longer tracked.
Delete Scripts for Deleted Assets
Automatically remove scripts if their source UXML files are removed.
Rebuild Scripts
Updates all generated scripts. Use it in case the scripts were deleted or not updated automatically.
Show Tracked VisualTreeAssets
Open Tracked Assets window.