Version: Unity 6 (6000.0)
Language : English
Comparison of the binding systems
Get started with runtime binding

Runtime data binding

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.
Runtime binding example Learn how to create a runtime binding from examples.

Additional resources

Comparison of the binding systems
Get started with runtime binding
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961