Files
Cog/Source/CogSample/CogSampleTargetableInterface.h
T
2023-10-06 02:27:00 -04:00

25 lines
604 B
C++

#pragma once
#include "CoreMinimal.h"
#include "CogSampleTargetableInterface.generated.h"
class UCapsuleComponent;
//--------------------------------------------------------------------------------------------------------------------------
UINTERFACE(MinimalAPI, Blueprintable)
class UCogSampleTargetableInterface : public UInterface
{
GENERATED_BODY()
};
class ICogSampleTargetableInterface
{
GENERATED_BODY()
public:
virtual FVector GetTargetLocation() const { return FVector::ZeroVector; }
virtual void GetTargetCapsules(TArray<const UCapsuleComponent*>& Capsules) const { }
};