You don’t actually need either. You can simply pass in this or even nullptr. This is the code for DisableInput
void APawn::DisableInput(class APlayerController* PlayerController)
{
if (PlayerController == Controller || PlayerController == nullptr)
{
bInputEnabled = false;
}
else
{
UE_LOG(LogPawn, Error, TEXT("DisableInput can only be specified on a Pawn for its Controller"));
}
}