31 void ResetHardLockTarget();
32 void ClearHardLockTarget();
35 TArray<ITargetableInterface*> FindTargetsInRange(
float MaxRange)
const;
36 ITargetableInterface* FindNearestTargetByDirection(
const FVector& Origin,
const FVector& Direction,
float MaxRange)
const;
42 void ResetSoftLockTarget();
47 UFUNCTION(BlueprintPure, Category =
"Targeting")
48 bool HasHardLockTarget() const;
50 UFUNCTION(BlueprintPure, Category = "Targeting")
53 UFUNCTION(BlueprintPure, Category = "Targeting")
59 return HardLockTarget.GetInterface();
64 AActor* GetCurrentTargetActor()
const;
71 TWeakObjectPtr<AActor> SoftLockTargetActor;
72 bool bSoftLockActive = false;