Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameModeBase
References
Module | Engine |
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
&40;
AController &42; Controller,
const FString & NewName,
bool bNameChange
&41;
Remarks
Sets the name for a controller
Parameters
Name | 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 |