32 lines
995 B
C++
Executable file
32 lines
995 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Animation/AnimInstance.h"
|
|
#include "GooGunAnimInstance.generated.h"
|
|
|
|
UCLASS(Blueprintable, NonTransient)
|
|
class UGooGunAnimInstance : public UAnimInstance {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
bool isCharging;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float ChargePercentVisual;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float ChargePercent;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float OverChargePercent;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float BarrelRotationRate;
|
|
|
|
public:
|
|
UGooGunAnimInstance();
|
|
UFUNCTION(BlueprintCallable)
|
|
void SetTargetBarrelRotationRate(float RotationRate);
|
|
|
|
};
|
|
|