Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include |
#include "GameFramework/GameModeBase.h" |
APawn * SpawnDefaultPawnFor
(
AController * NewPlayer,
AActor * StartSpot
)
Called during RestartPlayer to actually spawn the player's pawn, when using a start spot
a pawn of the default pawn class
Parameter |
Description |
---|---|
NewPlayer |
Controller for whom this pawn is spawned |
StartSpot |
Actor at which to spawn pawn |