Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APawn
- APawn::SetupPlayerInputComponent()
- ACharacter::SetupPlayerInputComponent()
- ADefaultPawn::SetupPlayerInputComponent()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
Include | #include "GameFramework/Pawn.h" |
virtual void SetupPlayerInputComponent
(
UInputComponent * PlayerInputComponent
)
Remarks
Allows a Pawn to set up custom input bindings. Called upon possession by a PlayerController, using the InputComponent created by CreatePlayerInputComponent().