29 lines
825 B
C++
Executable file
29 lines
825 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "AmmoDrivenWeaponAnimInstance.h"
|
|
#include "PlatformGunAnimInstance.generated.h"
|
|
|
|
UCLASS(Blueprintable, NonTransient)
|
|
class UPlatformGunAnimInstance : public UAmmoDrivenWeaponAnimInstance {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float SpinRate;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float NormalSpinRate;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float LerpSpeed;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float FiredSpinRate;
|
|
|
|
public:
|
|
UPlatformGunAnimInstance();
|
|
UFUNCTION(BlueprintCallable)
|
|
void WeaponFired();
|
|
|
|
};
|
|
|