Version: 2023.2
言語: 日本語
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 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 SerilizedObject data binding because it provides better support for Unity’s serialization system, including undo/redo functionality and multi-selection operations.

トピック 説明 
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.

その他の参考資料


Did you find this page useful? Please give it a rating:

  • Comparison of the binding systems
    Get started with runtime binding