Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h |
Include |
#include "Engine/GameInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameInstance.cpp |
virtual int32 AddLocalPlayer
(
ULocalPlayer * NewPlayer,
int32 ControllerId
)
Adds a LocalPlayer to the local and global list of Players.
Parameter |
Description |
---|---|
NewPlayer |
the player to add |
ControllerId |
id of the controller associated with the player |