34 lines
1 KiB
C++
Executable file
34 lines
1 KiB
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Animation/AnimInstance.h"
|
|
#include "ChargedWeaponAnimInstance.generated.h"
|
|
|
|
class AChargedWeapon;
|
|
|
|
UCLASS(Blueprintable, NonTransient)
|
|
class UChargedWeaponAnimInstance : public UAnimInstance {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
bool isCharging;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float ChargeupPlayRate;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float ChargeupPlayRateSpeedChange;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float ChargedownPlayRateSpeedChange;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float MaxChargeupPlayRate;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
AChargedWeapon* Weapon;
|
|
|
|
public:
|
|
UChargedWeaponAnimInstance();
|
|
};
|
|
|