第一次提交
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Copyright 2025 https://yuewu.dev/en All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameplayTagContainer.h"
|
||||
#include "Animation/AnimNotifies/AnimNotify.h"
|
||||
#include "GGA_AnimNotify_SendGameplayEvent.generated.h"
|
||||
|
||||
/**
|
||||
* An anim notify to send gameplay event to owner.
|
||||
*/
|
||||
UCLASS()
|
||||
class GENERICGAMEPLAYABILITIES_API UGGA_AnimNotify_SendGameplayEvent : public UAnimNotify
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
virtual void Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, const FAnimNotifyEventReference& EventReference) override;
|
||||
|
||||
virtual FString GetNotifyName_Implementation() const override;
|
||||
|
||||
protected:
|
||||
UPROPERTY(EditAnywhere, Category="GGA", BlueprintReadWrite)
|
||||
FGameplayTag EventTag;
|
||||
};
|
||||
Reference in New Issue
Block a user