You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
18 lines
667 B
C++
18 lines
667 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "Components/StateTreeAIComponent.h"
|
||
|
|
|
||
|
|
#include "Components/StateTreeAIComponentSchema.h"
|
||
|
|
#include "StateTreeExecutionContext.h"
|
||
|
|
|
||
|
|
TSubclassOf<UStateTreeSchema> UStateTreeAIComponent::GetSchema() const
|
||
|
|
{
|
||
|
|
return UStateTreeAIComponentSchema::StaticClass();
|
||
|
|
}
|
||
|
|
|
||
|
|
bool UStateTreeAIComponent::SetContextRequirements(FStateTreeExecutionContext& Context, bool bLogErrors /*= false*/)
|
||
|
|
{
|
||
|
|
Context.SetCollectExternalDataCallback(FOnCollectStateTreeExternalData::CreateUObject(this, &UStateTreeAIComponent::CollectExternalData));
|
||
|
|
return UStateTreeAIComponentSchema::SetContextRequirements(*this, Context, bLogErrors);
|
||
|
|
}
|