[EStateTreeVisitor](API\Plugins\StateTreeEditorModule\EStateTreeVisitor) VisitHierarchy ( [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< [EStateTreeVisitor](API\Plugins\StateTreeEditorModule\EStateTreeVisitor)([UStateTreeState](API\Plugins\StateTreeEditorModule\UStateTreeState) &State, [UStateTreeState](API\Plugins\StateTreeEditorModule\UStateTreeState) *ParentState)> InFunc ) const