The following table compares the SerializedObject data binding and runtime binding:
Comparison | Runtime binding | SerializedObject data binding |
---|---|---|
UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info See in Glossary |
Runtime UI, and Editor UI without serialized data. | Editor UI |
Data types | Supports any plain C# object as a data source. |
Supports only the data types supported by SerializedProperty . |
Binding target | Can target multiple properties of the same control. | Targets only the value property of a INotifyValueChanged<T> control. |
Property paths for a list or an array | Uses the syntax of Path.To.List[2] . |
Uses the syntax of Path.To.List.Array.data[2] . |
Extensibility | You can create your own binding types and attributes. | Not extensible. |