| APlayerController::SetSpectatorPawn()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual void SetSpectatorPawn
(
ASpectatorPawn * NewSpectatorPawn
)
Set the spectator pawn. Will also call AttachToPawn() using the new spectator.