Использование EQS в С++
Getting Super Powers
Все данные хранятся в UEnvQueryManager, который можно получить так:
static UEnvQueryManager* UEnvQueryManager::GetCurrent(UWorld* World);
Для того, чтобы запустить EQS необходимо
FEnvQueryRequest eqsRequest(GetFindPaLocationEnvQuery(), GetOwner());
eqsRequest.Execute(GetFindPaLocationEnvQueryRunMode(), this, &UWZFPairAnimationComponent::OnFindLocationEqFinished);
void OnFindLocationEqFinished(TSharedPtr<FEnvQueryResult> Result);
Last updated
Was this helpful?