/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h
Returns the first ofGetPawn()orGetSpectatorPawn()that is not nullptr, or nullptr otherwise.
[APawn](API\Runtime\Engine\GameFramework\APawn) * GetPawnOrSpectator() const