Skip to content

Instantly share code, notes, and snippets.

@mhaimes
mhaimes / EnumContainer.cpp
Created February 10, 2018 05:15
Here's the magic incantation to make Enums & Structs work in the Editor from Blueprints and from C++ land in modern versions of Unreal Engine 4
// MIT License
#include "EnumContainer.h"
FString UEnumContainer::GetStringFromE_TileState(E_TileState EnumValue)
{
FString EnumName = FString(TEXT("E_TileState"));
return EnumToString<E_TileState>(EnumName, EnumValue);
}