文档

Unity Engine

Unity Engine

PathVisitor

Helper visitor to visit a single property using a specified PropertyPath.
阅读时间1 分钟最后更新于 1 个月前

Definition

public abstract class PathVisitor : IPropertyBagVisitor, IPropertyVisitor

Properties

Property

Description

PathThe path to visit.
ReadonlyVisitReturns whether or not the visitor will write back values along the path.
ReturnCodeReturns the error code encountered while visiting the provided path.

Methods

Method

Description

ResetResets the state of the visitor.
VisitPathMethod called when the visitor has successfully visited the provided path.