Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include |
#include "GameFramework/GameModeBase.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp |
virtual void ChangeName
(
AController * Controller,
const FString & NewName,
bool bNameChange
)
Sets the name for a controller
Parameter |
Description |
---|---|
Controller |
The controller of the player to change the name of |
NewName |
The name to set the player to |
bNameChange |
Whether the name is changing or if this is the first time it has been set |