Navigation
API > API/Editor > API/Editor/GameProjectGeneration > API/Editor/GameProjectGeneration/GameProjectUtils
Description
Creates the game framework source code for a new project (Pawn, GameMode, PlayerControlleR). On failure, OutFailReason will be populated.
| Name | GenerateGameFrameworkSourceCode |
| Type | function |
| Header File | /Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h |
| Include Path | #include "GameProjectUtils.h" |
| Source | /Engine/Source/Editor/GameProjectGeneration/Private/GameProjectUtils.cpp |
static bool GenerateGameFrameworkSourceCode
(
const FString & NewProjectSourcePath,
const FString & NewProjectName,
TArray < FString > & OutCreatedFiles,
FText & OutFailReason
)