Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PropertyVisitor

Base class for implementing algorithms using properties. This is an abstract class. For more information on how to implement a property visitor by deriving from this class, including an example, refer to Create a property visitor with the PropertyVisitor class
Read time 1 minuteLast updated 8 days ago

Definition

public abstract class PropertyVisitor : IPropertyBagVisitor, IListPropertyBagVisitor, IDictionaryPropertyBagVisitor, IPropertyVisitor, ICollectionPropertyVisitor, IListPropertyVisitor, ISetPropertyVisitor, IDictionaryPropertyVisitor

Methods

Method

Description

AddAdapterAdds an adapter to the visitor.
IsExcludedCalled before visiting each property to determine if the property should be visited.
RemoveAdapterRemoves an adapter from the visitor.
VisitCollectionCalled when visiting any non-specialized collection property.
VisitDictionaryCalled when visiting a specialized dictionary property.
VisitListCalled when visiting a specialized list property.
VisitPropertyCalled when visiting any leaf property with no specialized handling.
VisitSetCalled when visiting a specialized set property.