I've been working on an Unreal Engine 4 game using C++ and I've been working on a dash function, however I followed a YouTube tutorial and I noticed that in the video, they use the function "EditAnywhere
" but when I tried to code that my self, my UE4 says that EditAnywhere
is unknown function.
Do I need to meet some special requirements to be able to use the "EditAnywhere
" function?
My Header file sample code:
UFUNCTION()
void DoubleJump();
UPROPERTY()
int DoubleJumpCounter;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
float JumpHeight;
UFUNCTION()
void Sprint();
UFUNCTION()
void Walk();
UPROPERTY(EditAnywhere)
float WalkingSpeed;
UPROPERTY(EditAnywhere)
float RunningSpeed;
UFUNCTION(EditAnywhere)
void Dash();
UPROPERTY()
bool CanDash;
UPROPERTY(EditAnywhere)
float DashStop;
UPROPERTY()
FTimerHandle UnsedHandle;
UFUNCTION()
void StopDashing();
UFUNCTION()
void ResetDash();