ドキュメント

Unity Engine

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
読み終わるまでの所要時間 1 分最終更新 20日前

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.