31 lines
928 B
C++
Executable file
31 lines
928 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Animation/AnimNotifies/AnimNotify.h"
|
|
#include "EnemyPlaySoundByKeyAnimNotify.generated.h"
|
|
|
|
class UEnemyPlaySoundKey;
|
|
|
|
UCLASS(Blueprintable, CollapseCategories, MinimalAPI)
|
|
class UEnemyPlaySoundByKeyAnimNotify : public UAnimNotify {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
UEnemyPlaySoundKey* SoundKey;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float VolumeMultiplier;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float PitchMultiplier;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
uint8 bFollow: 1;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FName AttachName;
|
|
|
|
public:
|
|
UEnemyPlaySoundByKeyAnimNotify();
|
|
};
|
|
|