Files
UnrealEngineUWP/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeSchema.cpp
jacob wang d0a9f7e6de [State Tree] Utility Selector Editor Representation First Pass
- Editor View and Operations(debugger support not yet)
- Basic Utility Consideration Base
- Built-in Float Parameter Consideration
- Basic Blueprint Support
#rb mikko.mononen

[CL 33665793 by jacob wang in ue5-main branch]
2024-05-15 14:50:35 -04:00

24 lines
584 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "StateTreeSchema.h"
#include "Blueprint/StateTreeNodeBlueprintBase.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(StateTreeSchema)
namespace StateTreeSchemaUtilityCVars
{
FAutoConsoleVariable CVarAllowUtilityConsiderations
(
TEXT("StateTree.AllowUtilityConsiderations"),
false,
TEXT("Reveal Experimental Utility Consideration in the State Tree Editor."),
ECVF_Default
);
}
bool UStateTreeSchema::IsChildOfBlueprintBase(const UClass* InClass) const
{
return InClass->IsChildOf<UStateTreeNodeBlueprintBase>();
}