Skip to content
Snippets Groups Projects
Commit 637a1fd5 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

refactor(pawn): Renames InputComponent member var.

parent 35e77a6b
No related branches found
No related tags found
2 merge requests!80UE5.3-2023.1-rc2,!77ContentExample-themed ToolkitExamples map.
Pipeline #350820 passed
......@@ -93,7 +93,7 @@ void ARWTHVRPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputComponen
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
ThisPlayerInputComponent = PlayerInputComponent;
ActivePlayerInputComponent = PlayerInputComponent;
APlayerController* PlayerController = Cast<APlayerController>(GetController());
if (!PlayerController)
......@@ -147,7 +147,7 @@ void ARWTHVRPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputComponen
}
}
UInputComponent* ARWTHVRPawn::GetPlayerInputComponent() { return ThisPlayerInputComponent; }
UInputComponent* ARWTHVRPawn::GetPlayerInputComponent() { return ActivePlayerInputComponent; }
void ARWTHVRPawn::AddInputMappingContext(const APlayerController* PC, const UInputMappingContext* Context) const
......
......@@ -114,5 +114,5 @@ protected:
void SetupMotionControllerSources();
private:
UInputComponent* ThisPlayerInputComponent;
UInputComponent* ActivePlayerInputComponent;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment