Advertisement
Dieton

SlashAnimationInstance.h

Dec 13th, 2023 (edited)
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.92 KB | Gaming | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "CoreMinimal.h"
  6. #include "ControlRigAnimInstance.h"
  7. #include "CharacterTypes.h"
  8. #include "SlashAnimInstance.generated.h"
  9.  
  10. /**
  11.  *
  12.  */
  13. UCLASS()
  14. class SLASH_API USlashAnimInstance : public UAnimInstance//UControlRigAnimInstance
  15. {
  16.     GENERATED_BODY()
  17. public:
  18.     virtual void NativeInitializeAnimation() override;
  19.     virtual void NativeUpdateAnimation(float DeltaTime) override;
  20.  
  21.     UPROPERTY(BlueprintReadOnly)
  22.     class ASlashCharacter* SlashCharechter;
  23.  
  24.     UPROPERTY(BlueprintReadOnly, Category = Movement)
  25.     class UCharacterMovementComponent* SlashCharacterMovement;
  26.  
  27.     UPROPERTY(BlueprintReadOnly, Category = Movement)
  28.     float GroundSpeed;
  29.  
  30.     UPROPERTY(BlueprintReadOnly, Category = Movement)
  31.     bool IsFalling;
  32.  
  33.     UPROPERTY(BlueprintReadOnly, Category = "Movement | Character State")
  34.     ECharacterState CharacterState;
  35. };
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement