APawn::SetupPlayerInputComponent

Allows a Pawn to set up custom input bindings.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h

Include

#include "GameFramework/Pawn.h"

Syntax

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().

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss