İlk yürütme
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "EnvironmentQuery/EnvQueryContext.h"
|
||||
#include "EnvQueryContext_Target.generated.h"
|
||||
|
||||
/**
|
||||
* Custom EnvQuery Context that returns the actor currently targeted by an NPC
|
||||
*/
|
||||
UCLASS()
|
||||
class FIRST_API UEnvQueryContext_Target : public UEnvQueryContext
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
/** Provides the context locations or actors for this EnvQuery */
|
||||
virtual void ProvideContext(FEnvQueryInstance& QueryInstance, FEnvQueryContextData& ContextData) const override;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user