Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameModeBase
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include | #include "GameFramework/GameModeBase.h" |
APawn &42; SpawnDefaultPawnFor
&40;
AController &42; NewPlayer,
AActor &42; StartSpot
&41;
Remarks
Called during RestartPlayer to actually spawn the player's pawn, when using a start spot a pawn of the default pawn class
Parameters
Name | Description |
---|---|
NewPlayer | Controller for whom this pawn is spawned |
StartSpot | Actor at which to spawn pawn |