LEAP Documentation 40220
Documentation for the LEAP project
ProjectXNavLinkProxy.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2022. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Navigation/NavLinkProxy.h"
7#include "ProjectXNavLinkProxy.generated.h"
8
9class UHookshotComponent;
10class UCurveFloat;
11
12UCLASS()
13class PROJECTX_API AProjectXNavLinkProxy : public ANavLinkProxy
14{
15 GENERATED_BODY()
16
17public:
18 UPROPERTY(EditAnywhere)
19 UCurveFloat* ApproachCurve = nullptr;
20 UPROPERTY(EditAnywhere)
21 float TransitionTime = 2.0f;
22
24
25 virtual void BeginPlay() override;
26 virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
27
28 UFUNCTION()
29 void InternalSmartLinkReached(AActor* MovingActor, const FVector& DestinationPoint);
30
31 static UCurveFloat* DefaultApproachCurve;
32};