Cleaned up code per lesson 108
This commit is contained in:
@@ -15,6 +15,7 @@ struct FInputActionValue;
|
||||
class IEnemyInterface;
|
||||
class UAuraAbilitySystemComponent;
|
||||
class USplineComponent;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -42,11 +43,12 @@ private:
|
||||
void CursorTrace();
|
||||
IEnemyInterface* LastActor;
|
||||
IEnemyInterface* ThisActor;
|
||||
FHitResult CursorHit;
|
||||
|
||||
void AbilityInputTagPressed(FGameplayTag InputTag);
|
||||
void AbilityInputTagReleased(FGameplayTag InputTag);
|
||||
void AbilityInputTagHeld(FGameplayTag InputTag);
|
||||
|
||||
void AutoRun();
|
||||
UPROPERTY()
|
||||
TObjectPtr<UAuraAbilitySystemComponent> AuraAbilitySystemComponent;
|
||||
|
||||
@@ -58,7 +60,7 @@ private:
|
||||
//Click to move
|
||||
FVector CachedDestination = FVector::ZeroVector;
|
||||
float FollowTime = 0.0f;
|
||||
float ShortPressedThreshhold = 0.5f;
|
||||
float ShortPressThreshold = 0.5f;
|
||||
bool bAutoRunning = false;
|
||||
bool bTargeting = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user