Skip to content
Snippets Groups Projects

UE5.3-2023.1-rc3

Merged David Gilbert requested to merge dev/5.3 into 5.3
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -120,6 +120,7 @@ void UDirectInteractionComponent::OnBeginInteraction(const FInputActionValue& Va
@@ -120,6 +120,7 @@ void UDirectInteractionComponent::OnBeginInteraction(const FInputActionValue& Va
}
}
else
else
{
{
 
CurrentlyInteractedComponents.Empty();
CurrentlyInteractedComponents.Reserve(CurrentlyInteractedComponents.Num() +
CurrentlyInteractedComponents.Reserve(CurrentlyInteractedComponents.Num() +
CurrentInteractableComponentsInRange.Num());
CurrentInteractableComponentsInRange.Num());
for (UInteractableComponent* InteractableComp : CurrentInteractableComponentsInRange)
for (UInteractableComponent* InteractableComp : CurrentInteractableComponentsInRange)
@@ -139,6 +140,7 @@ void UDirectInteractionComponent::OnEndInteraction(const FInputActionValue& Valu
@@ -139,6 +140,7 @@ void UDirectInteractionComponent::OnEndInteraction(const FInputActionValue& Valu
Component->HandleOnActionEndEvents(this, InteractionInputAction, Value, EInteractorType::Direct);
Component->HandleOnActionEndEvents(this, InteractionInputAction, Value, EInteractorType::Direct);
}
}
}
}
 
CurrentlyInteractedComponents.Empty();
}
}
UInteractableComponent* UDirectInteractionComponent::SearchForInteractable(AActor* HitActor)
UInteractableComponent* UDirectInteractionComponent::SearchForInteractable(AActor* HitActor)
Loading