Version: Unity 6.5 Alpha (6000.5)
Language : English
Web request low-level API reference
Introduction to Unity Properties

Handle type data generically with Unity Properties

The Unity Properties API, in the Unity.Properties namespace, uses a visitor design pattern to visit .NET objects at runtime. Visiting objects allows you to discover and modify their properties and add new operations to an existing object structure at runtime without modifying the structure itself. You can build various functionalities on top of the visitor pattern, such as serialization, data migration, deep data comparisons, and data binding.

Topic Description
Introduction to Unity Properties Understand the fundamentals and uses of the Unity Properties API.
Property bags Understand the role of property bags and the performance considerations when using them.
Property visitors Understand the role of property visitors and the performance considerations when using them.
Property paths Understand the role of property paths and the performance considerations when using them.
Create a property visitor with the PropertyVisitor class Learn how to use the PropertyVisitor base class to create a property visitor from an example.
Create a property visitor with low-level APIs Learn how to use the IPropertyBagVisitor and IPropertyVisitor interfaces to create a property visitor from an example.

Additional resources

Web request low-level API reference
Introduction to Unity Properties
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961