Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
Include |
#include "GameFramework/Pawn.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual AController * GetDamageInstigator
(
AController * InstigatedBy,
const UDamageType & DamageType
) const
Get the controller instigating the damage. If the damage is caused by the world and the supplied controller is nullptr or is this pawn's controller, uses LastHitBy as the instigator.