Version: 2023.2
Language : English
Structure UI with C# scripts
Create a custom control

Custom controls

You can create custom controls and implement custom logic for user interface elements.

Topic Description
Create custom controls Understand the basics of creating and using custom controls.
Customize UXML tag names and attributes Understand how to customize a UXML tag name, create custom attributes for a custom control, and add attribute decorators in UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
Builder.
Bind custom control to data Bind custom controls to serialized properties to synchronize values between the control and the property.
Define a namespace prefix Use UxmlNamespacePrefix attribute to define a namespace prefix.

Additional resources

Structure UI with C# scripts
Create a custom control