Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AController
Description
Add dependency that makes us tick before the given Pawn. This minimizes latency between input processing and Pawn movement.
| Name | AddPawnTickDependency |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
| Include Path | #include "GameFramework/Controller.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Controller.cpp |
virtual void AddPawnTickDependency
(
APawn * NewPawn
)