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