Files
UnrealEngine/Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Components/StateTreeAIComponent.h
2025-05-18 13:04:45 +08:00

26 lines
656 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Components/StateTreeComponent.h"
#include "StateTreeAIComponent.generated.h"
#define UE_API GAMEPLAYSTATETREEMODULE_API
/**
* State tree component designed to be run on an AIController.
* It uses the StateTreeAIComponentSchema that guarantees access to the AIController.
*/
UCLASS(MinimalAPI, ClassGroup = AI, Blueprintable, meta = (BlueprintSpawnableComponent))
class UStateTreeAIComponent : public UStateTreeComponent
{
GENERATED_BODY()
public:
//~ BEGIN IStateTreeSchemaProvider
UE_API TSubclassOf<UStateTreeSchema> GetSchema() const override;
//~ END
};
#undef UE_API