APawn::CreatePlayerInputComponent

Creates an InputComponent that can be used for custom input bindings.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Pawn.h"

Source

/Engine/Source/Runtime/Engine/Private/Pawn.cpp

Syntax

virtual UInputComponent * CreatePlayerInputComponent()

Remarks

Creates an InputComponent that can be used for custom input bindings. Called upon possession by a PlayerController. Return null if you don't want one.

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