Binds a UXML template asset to a class by name, with lazy loading
Key Concepts
Declarative Drawer Configuration
Both attributes follow a declarative pattern — decorating a class with the attribute configures its behavior without requiring code in the drawer itself. DrawerIndentationAttribute sets an indentation level, while UxmlTemplateAttribute associates a UXML file by name.
Lazy Asset Loading
UxmlTemplateAttribute caches the VisualTreeAsset on first access. The asset is found by searching the AssetDatabase for a VisualTreeAsset matching the specified name, so the UXML file can live anywhere in the project.