You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Moved SmartObjects out of restricted folder Moved StateTree out of restricted folder Moved ZoneGraph out of restricted folder Moved ZoneGraphAnnotations out of restricted folder #jira UE-115297 #ROBOMERGE-OWNER: mieszko.zielinski #ROBOMERGE-AUTHOR: mieszko.zielinski #ROBOMERGE-SOURCE: CL 17648223 via CL 17648246 via CL 17648261 via CL 17648385 via CL 17648390 via CL 17648742 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v875-17642767) [CL 17648750 by mieszko zielinski in ue5-main branch]
36 lines
801 B
C++
36 lines
801 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "StateTreeTaskBase.h"
|
|
#include "CoreMinimal.h"
|
|
|
|
// Base class for all evaluators
|
|
UStateTreeTaskBase::UStateTreeTaskBase(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
, ID(FGuid::NewGuid())
|
|
{
|
|
}
|
|
|
|
#if WITH_EDITOR
|
|
void UStateTreeTaskBase::PostLoad()
|
|
{
|
|
Super::PostLoad();
|
|
if (!ID.IsValid())
|
|
{
|
|
ID = FGuid::NewGuid();
|
|
}
|
|
}
|
|
#endif
|
|
|
|
#if WITH_GAMEPLAY_DEBUGGER
|
|
void UStateTreeTaskBase::AppendDebugInfoString(FString& DebugString, const FStateTreeInstance& StateTreeInstance) const
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if WITH_GAMEPLAY_DEBUGGER
|
|
void FStateTreeTask2Base::AppendDebugInfoString(FString& DebugString, const FStateTreeExecutionContext& Context) const
|
|
{
|
|
DebugString += FString::Printf(TEXT("[%s]\n"), *Name.ToString());
|
|
}
|
|
#endif
|