Skip to content

UExperimentAgentComponent::AcceptVisitor

Class: UExperimentAgentComponent

Accepts a visitor and calls the visitor's Visit method with this component.

Syntax

void UExperimentAgentComponent::AcceptVisitor(IExperimentAgentComponentVisitor &Visitor) const

Parameters

Parameter Type Description
Visitor IExperimentAgentComponentVisitor & The visitor object that will read state from this component.

Remarks

Override in subclasses to call the appropriate typed Visit overload so that visitors can distinguish between different agent component types. Visitor The visitor object that will read state from this component.