APlayerController::GetPawnOrSpectator

Returns the first of [GetPawn()](API\Runtime\Engine\GameFramework\AController\GetPawn\1) or [GetSpectatorPawn()](API\Runtime\Engine\GameFramework\APlayerController\GetSpectatorPawn) that is not nullptr, or nullptr otherwise.