diff --git a/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp b/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp index da433a267e744ac2871d2f0013db6f545cd8917d..68be98a67cb9e1ba91c58b071df6db75fd10de79 100644 --- a/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp +++ b/Source/RWTHVRToolkit/Private/Pawn/RWTHVRPawn.cpp @@ -147,10 +147,7 @@ void ARWTHVRPawn::SetupPlayerInputComponent(UInputComponent* PlayerInputComponen } } -UInputComponent* ARWTHVRPawn::GetPlayerInputComponent() -{ - return ThisPlayerInputComponent; -} +UInputComponent* ARWTHVRPawn::GetPlayerInputComponent() { return ThisPlayerInputComponent; } void ARWTHVRPawn::AddInputMappingContext(const APlayerController* PC, const UInputMappingContext* Context) const diff --git a/Source/RWTHVRToolkit/Public/Pawn/RWTHVRPawn.h b/Source/RWTHVRToolkit/Public/Pawn/RWTHVRPawn.h index d9a6200a15a3c888985006beeda57450bc4443bc..176fb0813d21d492402f6d42fdd0bdcc5e138717 100644 --- a/Source/RWTHVRToolkit/Public/Pawn/RWTHVRPawn.h +++ b/Source/RWTHVRToolkit/Public/Pawn/RWTHVRPawn.h @@ -114,6 +114,5 @@ protected: void SetupMotionControllerSources(); private: - UInputComponent* ThisPlayerInputComponent; };