// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "UObject/Interface.h" #include "Templates/SubclassOf.h" class UStateTreeSchema; #include "IStateTreeSchemaProvider.generated.h" UINTERFACE(MinimalAPI) class UStateTreeSchemaProvider : public UInterface { GENERATED_BODY() }; /** * Implementing this interface allows derived class to override the schema used to filter valid state trees for a FStateTreeReference. */ class IStateTreeSchemaProvider { GENERATED_BODY() public: virtual TSubclassOf GetSchema() const PURE_VIRTUAL(IStateTreeSchemaProvider::GetSchema(), return nullptr;) };