Runtime data binding binds the properties of any plain C# object
to the properties of a UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary control. You can use this type of data binding in both the runtime and Editor UI. However, for serialized data in the Editor UI, use the SerializedObject data binding because it provides better support for Unity’s serialization system, including undo/redo functionality and multi-selection operations.
Topic | Description |
---|---|
Get started with runtime binding | Learn the basics of runtime binding from an example. |
Create a runtime data binding in C# scripts | Create a runtime data binding. |
Define a data source | Understand how to define a data source for runtime binding, which can be any C# types. |
Define binding modes and update triggers | Define binding modes and update triggers to configure how changes are replicated between the data source and the UI. |
Convert data types | Add type converters to convert data types between the data source and the UI. |
Define logging levels | Define logging levels to debug runtime bindings. |
Create custom binding types | Create custom binding types and attributes. |
Create a custom binding to bind USS selectors | Learn how to create a custom binding to bind USS from an example. |