VRReactionGame/Source/ReactionGame/CustomBlueprintFunctionLibr...

12 lines
352 B
C++
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#include "CustomBlueprintFunctionLibrary.h"
#include "GameMapsSettings.h"
FString UCustomBlueprintFunctionLibrary::GetDefaultMapName()
{
const UGameMapsSettings* GameMapsSettings = GetDefault<UGameMapsSettings>();
return GameMapsSettings->GetGameDefaultMap();
}