PropertyVisitor

class in Unity.Properties

/

Implemented in:UnityEngine.PropertiesModule


Implements interfaces:ICollectionPropertyVisitor, IDictionaryPropertyBagVisitor, IDictionaryPropertyVisitor, IListPropertyBagVisitor, IListPropertyVisitor, IPropertyBagVisitor, IPropertyVisitor, ISetPropertyVisitor

Description

Base class for implementing algorithms using properties. This is an abstract class.

Public Methods

AddAdapter Adds an adapter to the visitor.
RemoveAdapter Removes an adapter from the visitor.

Protected Methods

IsExcluded Called before visiting each property to determine if the property should be visited.
VisitCollection Called when visiting any non-specialized collection property.
VisitDictionary Called when visiting a specialized dictionary property.
VisitList Called when visiting a specialized list property.
VisitProperty Called when visiting any leaf property with no specialized handling.
VisitSet Called when visiting a specialized set property.

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